summaryrefslogtreecommitdiff
path: root/gst/wavparse/gstwavparse.c
diff options
context:
space:
mode:
Diffstat (limited to 'gst/wavparse/gstwavparse.c')
-rw-r--r--gst/wavparse/gstwavparse.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gst/wavparse/gstwavparse.c b/gst/wavparse/gstwavparse.c
index 5209209cf..8cea8292e 100644
--- a/gst/wavparse/gstwavparse.c
+++ b/gst/wavparse/gstwavparse.c
@@ -224,7 +224,7 @@ gst_wavparse_reset (GstWavParse * wav)
wav->adapter = NULL;
}
if (wav->tags)
- gst_tag_list_free (wav->tags);
+ gst_tag_list_unref (wav->tags);
wav->tags = NULL;
if (wav->toc)
gst_toc_unref (wav->toc);
@@ -1727,8 +1727,8 @@ gst_wavparse_stream_headers (GstWavParse * wav)
wav->tags =
gst_tag_list_merge (old, new, GST_TAG_MERGE_REPLACE);
if (old)
- gst_tag_list_free (old);
- gst_tag_list_free (new);
+ gst_tag_list_unref (old);
+ gst_tag_list_unref (new);
}
gst_buffer_unref (buf);
wav->offset += GST_ROUND_UP_2 (data_size);