Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Memory leak in linuxPointingDeviceManager::fillDevInfo? #40

Open
fanfdesalpes opened this issue Mar 7, 2023 · 0 comments
Open

Memory leak in linuxPointingDeviceManager::fillDevInfo? #40

fanfdesalpes opened this issue Mar 7, 2023 · 0 comments

Comments

@fanfdesalpes
Copy link

LeakSanitizer gives me this:

Indirect leak of 112 byte(s) in 1 object(s) allocated from:
#0 0x7f61c556b867 in __interceptor_malloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:145
#1 0x7f61c32b3074 in udev_enumerate_new (/lib/x86_64-linux-gnu/libudev.so.1+0x9074)
#2 0x7f61c332f115 in pointing::linuxPointingDeviceManager::fillDevInfo(udev_device*, pointing::linuxPointingDeviceManager::linuxPointingDeviceData*) /home/shared/dependencies/libpointing-master/distrib/pointing/input/linux/linuxPointingDeviceManager.cpp:255
#3 0x7f61c332f4c5 in pointing::linuxPointingDeviceManager::checkFoundDevice(udev_device*) /home/shared/dependencies/libpointing-master/distrib/pointing/input/linux/linuxPointingDeviceManager.cpp:297
#4 0x7f61c332e9b7 in pointing::linuxPointingDeviceManager::eventloop(void*) /home/shared/dependencies/libpointing-master/distrib/pointing/input/linux/linuxPointingDeviceManager.cpp:143
#5 0x7f61c2c80b42 in start_thread nptl/pthread_create.c:442

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant