mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-01-26 14:06:15 +01:00
Plug mem leak in g_dbus_address_get_stream_sync
==6279== 21,615 (4,708 direct, 16,907 indirect) bytes in 169 blocks are definitely lost in loss record 12 of 13 ==6279== at 0x4024D2E: malloc (vg_replace_malloc.c:207) ==6279== by 0x4079A90: g_malloc (gmem.c:135) ==6279== by 0x4079DC8: g_malloc_n (gmem.c:252) ==6279== by 0x4097E66: g_strsplit (gstrfuncs.c:2434) ==6279== by 0x42169A2: g_dbus_address_get_stream_sync (gdbusaddress.c:875) Bug #618622.
This commit is contained in:
parent
dc39825aa3
commit
5bc9d43288
@ -907,6 +907,8 @@ g_dbus_address_get_stream_sync (const gchar *address,
|
||||
g_assert (last_error != NULL);
|
||||
g_propagate_error (error, last_error);
|
||||
}
|
||||
|
||||
g_strfreev (addr_array);
|
||||
return ret;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user