Merge lp:~om26er/unity/fix-leak into lp:unity/3.0

Proposed by Omer Akram
Status: Merged
Approved by: Neil J. Patel
Approved revision: no longer in the source branch.
Merged at revision: 1212
Proposed branch: lp:~om26er/unity/fix-leak
Merge into: lp:unity/3.0
Diff against target: 12 lines (+1/-1)
1 file modified
src/IndicatorObjectEntryProxyRemote.cpp (+1/-1)
To merge this branch: bzr merge lp:~om26er/unity/fix-leak
Reviewer Review Type Date Requested Status
Neil J. Patel Pending
Review via email: mp+74135@code.launchpad.net

Description of the change

the fix came from hyperair to fix a memory leak see the linked bug description.

To post a comment you must log in.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'src/IndicatorObjectEntryProxyRemote.cpp'
2--- src/IndicatorObjectEntryProxyRemote.cpp 2011-04-08 07:53:45 +0000
3+++ src/IndicatorObjectEntryProxyRemote.cpp 2011-09-05 19:50:44 +0000
4@@ -67,7 +67,7 @@
5 ret = gdk_pixbuf_new_from_stream (stream, NULL, NULL);
6
7 g_free (decoded);
8- g_input_stream_close (stream, NULL, NULL);
9+ g_object_unref (stream);
10 }
11 else if (_image_type == GTK_IMAGE_STOCK
12 || _image_type == GTK_IMAGE_ICON_NAME)

Subscribers

People subscribed via source and target branches

to all changes: