[rhythmbox] metadata: reset tags properly in rb_metadata_reset (bug #671840)
- From: Jonathan Matthew <jmatthew src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [rhythmbox] metadata: reset tags properly in rb_metadata_reset (bug #671840)
- Date: Sun, 11 Mar 2012 22:47:06 +0000 (UTC)
commit 9ef7f100025233fb10bd24ed71ac050f66e0981b
Author: Cole Robinson <crobinso redhat com>
Date: Mon Mar 12 08:45:39 2012 +1000
metadata: reset tags properly in rb_metadata_reset (bug #671840)
metadata/rb-metadata-gst.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/metadata/rb-metadata-gst.c b/metadata/rb-metadata-gst.c
index 52548da..a6c4d93 100644
--- a/metadata/rb-metadata-gst.c
+++ b/metadata/rb-metadata-gst.c
@@ -75,7 +75,8 @@ void
rb_metadata_reset (RBMetaData *md)
{
if (md->priv->tags != NULL) {
- g_object_unref (md->priv->tags);
+ gst_tag_list_free (md->priv->tags);
+ md->priv->tags = NULL;
}
if (md->priv->info != NULL) {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]