diff --git a/debian/changelog b/debian/changelog index b775098..90412db 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,10 @@ +unity (3.8.16-0ubuntu1~natty2) natty-proposed; urgency=low + + * src/IndicatorObjectEntryProxyRemote.cpp: Fix leak of GMemoryInputStream + (LP: #816632) + + -- Chow Loong Jin Wed, 27 Jul 2011 04:28:21 +0800 + unity (3.8.16-0ubuntu1~natty1) natty-proposed; urgency=low * New upstream version: diff --git a/src/IndicatorObjectEntryProxyRemote.cpp b/src/IndicatorObjectEntryProxyRemote.cpp index 27b9723..194ee2b 100644 --- a/src/IndicatorObjectEntryProxyRemote.cpp +++ b/src/IndicatorObjectEntryProxyRemote.cpp @@ -67,7 +67,7 @@ IndicatorObjectEntryProxyRemote::GetPixbuf () ret = gdk_pixbuf_new_from_stream (stream, NULL, NULL); g_free (decoded); - g_input_stream_close (stream, NULL, NULL); + g_object_unref (stream); } else if (_image_type == GTK_IMAGE_STOCK || _image_type == GTK_IMAGE_ICON_NAME)