aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorCharles Kerr <charles.kerr@canonical.com>2012-01-24 20:21:21 -0600
committerCharles Kerr <charles.kerr@canonical.com>2012-01-24 20:21:21 -0600
commitf1fd627d976f56bd47e5b8226c229eaf8cc64158 (patch)
treeda2f5e1d318f980e5914a5228ec62531240d6da7 /src
parent1bdef61d49c35e1476117ae80c99610296bab68c (diff)
downloadayatana-indicator-sound-f1fd627d976f56bd47e5b8226c229eaf8cc64158.tar.gz
ayatana-indicator-sound-f1fd627d976f56bd47e5b8226c229eaf8cc64158.tar.bz2
ayatana-indicator-sound-f1fd627d976f56bd47e5b8226c229eaf8cc64158.zip
fix Free Memory Read error found by valgrind
Diffstat (limited to 'src')
-rw-r--r--src/metadata-widget.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/metadata-widget.c b/src/metadata-widget.c
index 8304438..16e30e5 100644
--- a/src/metadata-widget.c
+++ b/src/metadata-widget.c
@@ -256,6 +256,7 @@ metadata_widget_dispose (GObject *object)
#else
gdk_pixbuf_unref(priv->icon_buf);
#endif
+ priv->icon_buf = NULL;
}
G_OBJECT_CLASS (metadata_widget_parent_class)->dispose (object);
}