GNOME Bugzilla – Bug 608159
mem leak in g_io_modules_scan_all_in_directory
Last modified: 2010-02-06 12:41:52 UTC
|filename| is leaked: ==8441== 64 bytes in 1 blocks are definitely lost in loss record 69 of 192 ==8441== at 0x4024E4C: realloc (vg_replace_malloc.c:429) ==8441== by 0x4A62201: g_realloc (gmem.c:170) ==8441== by 0x4A815FE: g_string_maybe_expand (gstring.c:361) ==8441== by 0x4A81C88: g_string_insert_len (gstring.c:696) ==8441== by 0x4A8215A: g_string_append_len (gstring.c:844) ==8441== by 0x4A46ADE: g_build_path_va (gfileutils.c:1466) ==8441== by 0x4A46C84: g_build_filename (gfileutils.c:1736) ==8441== by 0x481F223: g_io_modules_scan_all_in_directory (giomodule.c:285)
Created attachment 153054 [details] [review] Don't leak filename in g_io_modules_scan_all_in_directory
Looks good, please commit
commit 813d0d17a65be2ecb5961a96630d11a195ce6a67 Author: Tim-Philipp Müller <tim@centricular.net> Date: Fri Feb 5 01:14:20 2010 +0000 Don't leak filename in g_io_modules_scan_all_in_directory https://bugzilla.gnome.org/show_bug.cgi?id=608159