rdtdepay: unref input buffer when done
authorTim-Philipp Müller <tim.muller@collabora.co.uk>
Sat, 30 Jan 2010 19:06:34 +0000 (19:06 +0000)
committerTim-Philipp Müller <tim.muller@collabora.co.uk>
Sat, 30 Jan 2010 19:15:15 +0000 (19:15 +0000)
Fixes memory leak, see #608533.

gst/realmedia/rdtdepay.c

index e96c765..76793bc 100644 (file)
@@ -455,6 +455,8 @@ gst_rdt_depay_chain (GstPad * pad, GstBuffer * buf)
     more = gst_rdt_packet_move_to_next (&packet);
   }
 
+  gst_buffer_unref (buf);
+
   return ret;
 }