mpegpsmux: fix mem leak
authorEunhae Choi <eunhae1.choi@samsung.com>
Fri, 16 Jun 2017 07:51:50 +0000 (16:51 +0900)
committerEunhae Choi <eunhae1.choi@samsung.com>
Fri, 16 Jun 2017 07:51:50 +0000 (16:51 +0900)
Change-Id: I6825deeac82524c18b666498a168707978e0ef80

gst/mpegpsmux/mpegpsmux.c

index 2b96fc1..44f4e7e 100644 (file)
@@ -341,6 +341,7 @@ mpegpsmux_create_stream (MpegPsMux * mux, MpegPsPadData * ps_data, GstPad * pad)
   }
 
 beach:
+  gst_caps_unref (caps);
   return ret;
 }