diff options
author | Charles Kerr <charles.kerr@canonical.com> | 2012-01-24 20:52:57 -0600 |
---|---|---|
committer | Charles Kerr <charles.kerr@canonical.com> | 2012-01-24 20:52:57 -0600 |
commit | f174071dd8f98b298509d11f45b67dac77924599 (patch) | |
tree | a8f1ec79a731f2d09efefdbcc2ab48c77a14a31b | |
parent | f1fd627d976f56bd47e5b8226c229eaf8cc64158 (diff) | |
download | ayatana-indicator-sound-f174071dd8f98b298509d11f45b67dac77924599.tar.gz ayatana-indicator-sound-f174071dd8f98b298509d11f45b67dac77924599.tar.bz2 ayatana-indicator-sound-f174071dd8f98b298509d11f45b67dac77924599.zip |
fix a minor memory leak reported by valigrind
-rw-r--r-- | src/metadata-widget.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/metadata-widget.c b/src/metadata-widget.c index 16e30e5..a3383df 100644 --- a/src/metadata-widget.c +++ b/src/metadata-widget.c @@ -264,6 +264,10 @@ metadata_widget_dispose (GObject *object) static void metadata_widget_finalize (GObject *object) { + MetadataWidgetPrivate * priv = METADATA_WIDGET_GET_PRIVATE(METADATA_WIDGET(object)); + g_string_free (priv->image_path, TRUE); + g_string_free (priv->old_image_path, TRUE); + G_OBJECT_CLASS (metadata_widget_parent_class)->finalize (object); } |