sys/xvimage/xvimagesink.c: Fix a memleak reported by Jan Schmidt.

Original commit message from CVS:
2006-03-20  Julien MOUTTE  <julien@moutte.net>

* sys/xvimage/xvimagesink.c:
(gst_xvimagesink_get_format_from_caps): Fix a memleak reported
by Jan Schmidt.
This commit is contained in:
Julien Moutte 2006-03-20 18:09:41 +00:00
parent a73e81776d
commit ec0e8a27f1
2 changed files with 7 additions and 0 deletions

View file

@ -1,3 +1,9 @@
2006-03-20 Julien MOUTTE <julien@moutte.net>
* sys/xvimage/xvimagesink.c:
(gst_xvimagesink_get_format_from_caps): Fix a memleak reported
by Jan Schmidt.
2006-03-19 Tim-Philipp Müller <tim at centricular dot net>
* gst/typefind/gsttypefindfunctions.c: (id3v2_type_find),

View file

@ -1550,6 +1550,7 @@ gst_xvimagesink_get_format_from_caps (GstXvImageSink * xvimagesink,
gst_caps_unref (icaps);
return format->format;
}
gst_caps_unref (icaps);
}
list = g_list_next (list);
}