sys/xvimage/xvimagesink.c: Free XVAdapterInfo correctly.

Original commit message from CVS:
2003-12-27  Benjamin Otte  <in7y118@public.uni-hamburg.de>

* sys/xvimage/xvimagesink.c: (gst_xvimagesink_get_xv_support):
Free XVAdapterInfo correctly.
This commit is contained in:
Benjamin Otte 2003-12-27 15:37:43 +00:00
parent 7e8bd044f2
commit 227cfadb38
2 changed files with 6 additions and 1 deletions

View file

@ -1,3 +1,8 @@
2003-12-27 Benjamin Otte <in7y118@public.uni-hamburg.de>
* sys/xvimage/xvimagesink.c: (gst_xvimagesink_get_xv_support):
Free XVAdapterInfo correctly.
2003-12-27 Benjamin Otte <in7y118@public.uni-hamburg.de>
* ext/mad/gstid3tag.c: (gst_id3_tag_add_src_pad),

View file

@ -393,8 +393,8 @@ gst_xvimagesink_get_xv_support (GstXContext *xcontext)
GST_DEBUG ("XV Adaptor %s with %ld ports", adaptors[i].name,
adaptors[i].num_ports);
XvFreeAdaptorInfo (&(adaptors[i]));
}
XvFreeAdaptorInfo (adaptors);
if (xcontext->xv_port_id)
{