diff options
author | Edward Hervey <edward@collabora.com> | 2014-05-13 11:30:35 +0200 |
---|---|---|
committer | Edward Hervey <edward@collabora.com> | 2014-05-13 11:30:35 +0200 |
commit | 2495f700bd43554e12defca8a4f02a0edb860065 (patch) | |
tree | 4fef20294af8c555f14986437f31b14023d32d2c /gst | |
parent | 1d01afc166ed4e059575c45be63e7f3d9713a64a (diff) | |
download | gstreamer-plugins-bad-2495f700bd43554e12defca8a4f02a0edb860065.tar.gz |
mpegpsmux; Fix stream leak
CID #1212164
Diffstat (limited to 'gst')
-rw-r--r-- | gst/mpegpsmux/psmuxstream.c | 1 |
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; } |