diff options
author | Lars Uebernickel <lars.uebernickel@canonical.com> | 2012-09-26 17:00:52 +0200 |
---|---|---|
committer | Lars Uebernickel <lars.uebernickel@canonical.com> | 2012-09-26 17:00:52 +0200 |
commit | b226f3fd6efdb883507ba798a33e5974331d1e85 (patch) | |
tree | 315c1dd0f2f797d446188ca4ba2cc943e3975652 | |
parent | a94288f2040965815eb2345b940a736632a06aaa (diff) | |
parent | e4002d584ae850b9c5e546fb638efe94a8e2b361 (diff) | |
download | ayatana-indicator-power-b226f3fd6efdb883507ba798a33e5974331d1e85.tar.gz ayatana-indicator-power-b226f3fd6efdb883507ba798a33e5974331d1e85.tar.bz2 ayatana-indicator-power-b226f3fd6efdb883507ba798a33e5974331d1e85.zip |
Merge lp:~/larsu/indicator-power/plug-get-icon-memory-leak
Plugs a small memory leak in indicator-power.c
-rw-r--r-- | src/indicator-power.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/indicator-power.c b/src/indicator-power.c index f3a7235..9829839 100644 --- a/src/indicator-power.c +++ b/src/indicator-power.c @@ -508,6 +508,7 @@ get_image (IndicatorObject *io) gicon = g_themed_icon_new (DEFAULT_ICON); priv->status_image = GTK_IMAGE (gtk_image_new_from_gicon (gicon, GTK_ICON_SIZE_LARGE_TOOLBAR)); + g_object_unref (gicon); } return priv->status_image; |