gldownload: plug a memory leak
authorMatthew Waters <ystreet00@gmail.com>
Sun, 15 Jun 2014 05:17:07 +0000 (15:17 +1000)
committerTim-Philipp Müller <tim@centricular.com>
Sat, 9 Dec 2017 19:31:43 +0000 (19:31 +0000)
gst-libs/gst/gl/gstgldownload.c

index 69bbab4..47e277a 100644 (file)
@@ -312,6 +312,7 @@ _do_download (GstGLDownload * download, guint texture_id,
   }
 
   gst_buffer_unref (inbuf);
+  gst_buffer_unref (outbuf);
 
   return ret;
 }