summaryrefslogtreecommitdiff
path: root/gst/mpegpsmux
diff options
context:
space:
mode:
authorEdward Hervey <edward@collabora.com>2014-05-13 11:30:35 +0200
committerEdward Hervey <edward@collabora.com>2014-05-13 11:30:35 +0200
commit2495f700bd43554e12defca8a4f02a0edb860065 (patch)
tree4fef20294af8c555f14986437f31b14023d32d2c /gst/mpegpsmux
parent1d01afc166ed4e059575c45be63e7f3d9713a64a (diff)
downloadgstreamer-plugins-bad-2495f700bd43554e12defca8a4f02a0edb860065.tar.gz
mpegpsmux; Fix stream leak
CID #1212164
Diffstat (limited to 'gst/mpegpsmux')
-rw-r--r--gst/mpegpsmux/psmuxstream.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gst/mpegpsmux/psmuxstream.c b/gst/mpegpsmux/psmuxstream.c
index 9c29ec42a..43f70703d 100644
--- a/gst/mpegpsmux/psmuxstream.c
+++ b/gst/mpegpsmux/psmuxstream.c
@@ -147,6 +147,7 @@ psmux_stream_new (PsMux * mux, PsMuxStreamType stream_type)
if (stream->stream_id == 0) {
g_critical ("Number of elementary streams of type %04x exceeds maximum",
stream->stream_type);
+ g_slice_free (PsMuxStream, stream);
return NULL;
}