From d659e8353df4eeed87e35d71df22adf1b8747b03 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= Date: Sun, 22 Feb 2009 19:12:00 +0100 Subject: [PATCH] tagdemux: Unref the actual buffer instead of the memory address of the buffer --- gst-libs/gst/tag/gsttagdemux.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gst-libs/gst/tag/gsttagdemux.c b/gst-libs/gst/tag/gsttagdemux.c index 9f041daa70..97977b869f 100644 --- a/gst-libs/gst/tag/gsttagdemux.c +++ b/gst-libs/gst/tag/gsttagdemux.c @@ -1285,7 +1285,7 @@ read_beyond_end: { GST_DEBUG_OBJECT (demux, "attempted read beyond end of file"); if (*buffer != NULL) { - gst_buffer_unref (buffer); + gst_buffer_unref (*buffer); *buffer = NULL; } return GST_FLOW_UNEXPECTED;