[gst-devel] Re: Patch : gst-plugins/gst/auparse/gstauparse.c

Antoine Tremblay hexa00 at gmail.com
Thu Jun 23 09:00:06 CEST 2005


Someone suggested that I should use the buzilla so I did : it's bug 308794

I emailed the list so that someone else doesn't do another bug entry
for it or patches it without closing the bug...

(Next time i'll only do it on bugzilla)

Thanks

On 6/23/05, Antoine Tremblay <hexa00 at gmail.com> wrote:
> Hi,
> 
>  This is my 1st patch to gstreamer so , if i'm not posting the right
> way or there's something I should know about posting patches plz tell
> me :)
> 
> The very simple patch patches a memory leak in auparse (the leak is
> present in the cvs version)
> 
> If someone can commit it to the cvs ?
> 
> Use patch -p1 < patch in your plugins dir,...
> 
> diff -Naur gst-plugins-cvs-org/gst/auparse/gstauparse.c
> gst-plugins-cvs/gst/auparse/gstauparse.c
> 
> --- gst-plugins-cvs-org/gst/auparse/gstauparse.c        2005-06-23
> 11:32:34.116399824 -0400
> +++ gst-plugins-cvs/gst/auparse/gstauparse.c    2005-06-23
> 11:33:45.705516624 -0400
> @@ -368,7 +368,8 @@
>      GST_BUFFER_SIZE (newbuf) = size - (auparse->offset);
> 
>      gst_buffer_unref (buf);
> -
> +    gst_caps_free(tempcaps);
> +
>      gst_pad_push (auparse->srcpad, GST_DATA (newbuf));
>      return;
>    }
>




More information about the gstreamer-devel mailing list