diff -Naur a/gst-plugins-good-1.10.1/gst/rtp/gstrtph264depay.c b/gst-plugins-good-1.10.1/gst/rtp/gstrtph264depay.c
--- a/gst-plugins-good-1.10.1/gst/rtp/gstrtph264depay.c	2016-11-04 22:37:09.000000000 +0530
+++ b/gst-plugins-good-1.10.1/gst/rtp/gstrtph264depay.c	2016-11-24 11:29:31.718929659 +0530
@@ -439,6 +439,7 @@
   }
 
   gst_caps_unref (srccaps);
+  gst_caps_unref (old_caps);
 
   /* Insert SPS and PPS into the stream on next opportunity */
   if (rtph264depay->sps->len > 0 || rtph264depay->pps->len > 0) {
diff -Naur a/gst-plugins-good-1.10.1/gst/rtp/gstrtpsbcdepay.c b/gst-plugins-good-1.10.1/gst/rtp/gstrtpsbcdepay.c
--- a/gst-plugins-good-1.10.1/gst/rtp/gstrtpsbcdepay.c	2016-11-04 22:37:09.000000000 +0530
+++ b/gst-plugins-good-1.10.1/gst/rtp/gstrtpsbcdepay.c	2016-11-24 11:27:23.123797132 +0530
@@ -181,6 +181,7 @@
   }
 
   gst_caps_unref (outcaps);
+  gst_caps_unref (oldcaps);
 
   return TRUE;
 
