GNOME Bugzilla – Bug 670085
memory leak in g_output_stream_write_async
Last modified: 2012-02-16 15:20:42 UTC
==3963== 4,936 (208 direct, 4,728 indirect) bytes in 4 blocks are definitely lost in loss record 735 of 737 ==3963== at 0x4028876: malloc (vg_replace_malloc.c:236) ==3963== by 0x407C64A: standard_malloc (gmem.c:85) ==3963== by 0x407C9F2: g_malloc (gmem.c:159) ==3963== by 0x40908ED: g_slice_alloc (gslice.c:1003) ==3963== by 0x4090E55: g_slice_alloc0 (gslice.c:1029) ==3963== by 0x417DD87: g_type_create_instance (gtype.c:1872) ==3963== by 0x4160807: g_object_constructor (gobject.c:1839) ==3963== by 0x4162560: g_object_newv (gobject.c:1622) ==3963== by 0x4162AF7: g_object_new (gobject.c:1532) ==3963== by 0x4205EDC: g_simple_async_result_new (gsimpleasyncresult.c:318) ==3963== by 0x41C43B3: g_buffered_output_stream_write_async (gbufferedoutputstream.c:617) ==3963== by 0x41FF28A: g_output_stream_write_async (goutputstream.c:771)
Created attachment 207536 [details] [review] fix memory leak in g_buffered_output_stream_write_async please review.
Review of attachment 207536 [details] [review]: Looks good. Thanks for the catch.
Ravi: Do you have git commit access?
@ André: nope.
I've pushed it. Thanks for the patch, Ravi!