diff options
author | Christian Persch <chpe@gnome.org> | 2010-08-30 10:14:39 -0400 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2010-08-30 10:14:39 -0400 |
commit | 6879256f360ed46c2238b273a239f99d08a62915 (patch) | |
tree | 608294dc5efeec949230adccdc7dfad2fb02dd42 /gio/gdbusauth.c | |
parent | bb221b68df5de89fce4cb70b789df6173d9c2c92 (diff) |
Plug a mem leak
==6793== 16 bytes in 1 blocks are definitely lost in loss record 632 of 1,423
==6793== at 0x4005BDC: malloc (vg_replace_malloc.c:195)
==6793== by 0x4057094: g_malloc (gmem.c:134)
==6793== by 0x417FC29: g_data_input_stream_read_line (gdatainputstream.c:797)
==6793== by 0x41F99C1: _my_g_data_input_stream_read_line (gdbusauth.c:279)
==6793== by 0x41FA728: _g_dbus_auth_run_client (gdbusauth.c:759)
Bug #628327.
Diffstat (limited to 'gio/gdbusauth.c')
-rw-r--r-- | gio/gdbusauth.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gio/gdbusauth.c b/gio/gdbusauth.c index 7f19ace87..ba5facfbe 100644 --- a/gio/gdbusauth.c +++ b/gio/gdbusauth.c @@ -762,6 +762,7 @@ _g_dbus_auth_run_client (GDBusAuth *auth, debug_print ("CLIENT: WaitingForAgreeUnixFD, read=`%s'", line); if (g_strcmp0 (line, "AGREE_UNIX_FD") == 0) { + g_free (line); negotiated_capabilities |= G_DBUS_CAPABILITY_FLAGS_UNIX_FD_PASSING; s = "BEGIN\r\n"; debug_print ("CLIENT: writing `%s'", s); |