From 227cfadb38bec132b8405224a580523cf9b25035 Mon Sep 17 00:00:00 2001 From: Benjamin Otte Date: Sat, 27 Dec 2003 15:37:43 +0000 Subject: [PATCH] sys/xvimage/xvimagesink.c: Free XVAdapterInfo correctly. Original commit message from CVS: 2003-12-27 Benjamin Otte * sys/xvimage/xvimagesink.c: (gst_xvimagesink_get_xv_support): Free XVAdapterInfo correctly. --- ChangeLog | 5 +++++ sys/xvimage/xvimagesink.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index ad3a912a8e..d26b00bc35 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2003-12-27 Benjamin Otte + + * sys/xvimage/xvimagesink.c: (gst_xvimagesink_get_xv_support): + Free XVAdapterInfo correctly. + 2003-12-27 Benjamin Otte * ext/mad/gstid3tag.c: (gst_id3_tag_add_src_pad), diff --git a/sys/xvimage/xvimagesink.c b/sys/xvimage/xvimagesink.c index daaf408085..62b7b3a2b1 100644 --- a/sys/xvimage/xvimagesink.c +++ b/sys/xvimage/xvimagesink.c @@ -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) {