From e232b09d5040289895c078e98947648688488e84 Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Tue, 8 Jun 2004 11:24:45 +0000 Subject: [PATCH] gst/multipart/multipartmux.c: Fix memory leak Original commit message from CVS: * gst/multipart/multipartmux.c: (gst_multipart_mux_class_init), (gst_multipart_mux_loop): Fix memory leak --- ChangeLog | 6 ++++++ gst/multipart/multipartmux.c | 1 + 2 files changed, 7 insertions(+) diff --git a/ChangeLog b/ChangeLog index 4fc6440811..5e0cf8a97a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2004-06-08 Wim Taymans + + * gst/multipart/multipartmux.c: (gst_multipart_mux_class_init), + (gst_multipart_mux_loop): + Fix memory leak + 2004-06-08 Thomas Vander Stichele * gst/tcp/gsttcpclientsrc.c: (gst_tcpclientsrc_get): diff --git a/gst/multipart/multipartmux.c b/gst/multipart/multipartmux.c index 1cce5abba4..ea202b4a02 100644 --- a/gst/multipart/multipartmux.c +++ b/gst/multipart/multipartmux.c @@ -524,6 +524,7 @@ gst_multipart_mux_loop (GstElement * element) gst_pad_push (mux->srcpad, GST_DATA (newbuf)); + gst_buffer_unref (buf); pad->buffer = NULL; }