bd122c738d
Fixes the following memory leaks reported by valgrind: 32 bytes in 1 blocks are definitely lost in loss record 15 of 111 at 0x483577F: malloc (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so) by 0x49DB0DD: ??? (in /usr/lib/x86_64-linux-gnu/libxcb.so.1.1.0) by 0x49D8FB4: ??? (in /usr/lib/x86_64-linux-gnu/libxcb.so.1.1.0) by 0x49DA63E: ??? (in /usr/lib/x86_64-linux-gnu/libxcb.so.1.1.0) by 0x49DA751: xcb_wait_for_reply (in /usr/lib/x86_64-linux-gnu/libxcb.so.1.1.0) by 0x14B16F: detect_driver (driver.c:20) by 0x119949: session_init (compton.c:1879) by 0x11AEF0: main (compton.c:2285) 32 bytes in 1 blocks are definitely lost in loss record 16 of 111 at 0x483577F: malloc (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so) by 0x49DB0DD: ??? (in /usr/lib/x86_64-linux-gnu/libxcb.so.1.1.0) by 0x49D8FB4: ??? (in /usr/lib/x86_64-linux-gnu/libxcb.so.1.1.0) by 0x49DA63E: ??? (in /usr/lib/x86_64-linux-gnu/libxcb.so.1.1.0) by 0x49DA751: xcb_wait_for_reply (in /usr/lib/x86_64-linux-gnu/libxcb.so.1.1.0) by 0x14B16F: detect_driver (driver.c:20) by 0x11795E: redir_start (compton.c:1202) by 0x115C76: paint_preprocess (compton.c:629) by 0x1182BD: _draw_callback (compton.c:1380) by 0x1184D0: draw_callback (compton.c:1426) by 0x49BF292: ev_invoke_pending (in /usr/lib/x86_64-linux-gnu/libev.so.4.0.0) by 0x49C3344: ev_run (in /usr/lib/x86_64-linux-gnu/libev.so.4.0.0) Also, free(randr_version) in the error path as well. |
||
---|---|---|
.. | ||
backend | ||
atom.c | ||
atom.h | ||
c2.c | ||
c2.h | ||
cache.c | ||
cache.h | ||
common.h | ||
compiler.h | ||
compton.c | ||
compton.h | ||
compton.modulemap | ||
config_libconfig.c | ||
config.c | ||
config.h | ||
dbus.c | ||
dbus.h | ||
diagnostic.c | ||
diagnostic.h | ||
err.h | ||
event.c | ||
event.h | ||
kernel.c | ||
kernel.h | ||
list.h | ||
log.c | ||
log.h | ||
meson.build | ||
meta.h | ||
opengl.c | ||
opengl.h | ||
options.c | ||
options.h | ||
region.h | ||
render.c | ||
render.h | ||
string_utils.c | ||
string_utils.h | ||
types.h | ||
uthash_extra.h | ||
utils.c | ||
utils.h | ||
vsync.c | ||
vsync.h | ||
win_defs.h | ||
win.c | ||
win.h | ||
x.c | ||
x.h | ||
xrescheck.c | ||
xrescheck.h |