Commit: 3197248ab063a0e6419517924ed1b7478e798bae
Parent: bc2e394b5c86e0259fc9018520dfc152abed97a1
Author: Szymon Janc <szymon.janc@tieto.com>
Committer: Johan Hedberg <johan.hedberg@intel.com>
Date: 2012-12-03 13:04:46
Tree: 242d302729af0206a1fe53ddea988d7048ad38b1

hog: Fix unregistering profile on exit On exit should call btd_profile_unregister instead of btd_profile_register. Fixes following: 16 bytes in 1 blocks are still reachable in loss record 54 of 215 at 0x4C2B6CD: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so) by 0x4E7FA78: g_malloc (in /lib/x86_64-linux-gnu/libglib-2.0.so.0.3200.3) by 0x4E92CA2: g_slice_alloc (in /lib/x86_64-linux-gnu/libglib-2.0.so.0.3200.3) by 0x4E93FC2: g_slist_append (in /lib/x86_64-linux-gnu/libglib-2.0.so.0.3200.3) by 0x17F6C2: btd_profile_register (profile.c:533) by 0x171456: plugin_cleanup (plugin.c:242) by 0x12164F: main (main.c:563) 16 bytes in 1 blocks are still reachable in loss record 37 of 215 at 0x4C2B6CD: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so) by 0x4E7FA78: g_malloc (in /lib/x86_64-linux-gnu/libglib-2.0.so.0.3200.3) by 0x4E92CA2: g_slice_alloc (in /lib/x86_64-linux-gnu/libglib-2.0.so.0.3200.3) by 0x4E93FC2: g_slist_append (in /lib/x86_64-linux-gnu/libglib-2.0.so.0.3200.3) by 0x17F6C2: btd_profile_register (profile.c:533) by 0x1712EB: plugin_init (plugin.c:217) by 0x1215D2: main (main.c:544)

Diffstat

M profiles/input/hog_manager.c | 2 +-

1 files changed, 1 insertions(+), 1 deletions(-)

View Full Diff | Patch