sys/: Plug a caps leak.
authorJulien Moutte <julien@moutte.net>
Wed, 27 Dec 2006 12:08:13 +0000 (12:08 +0000)
committerJulien Moutte <julien@moutte.net>
Wed, 27 Dec 2006 12:08:13 +0000 (12:08 +0000)
Original commit message from CVS:
2006-12-27  Julien MOUTTE  <julien@moutte.net>

* sys/ximage/ximagesink.c: (gst_ximagesink_setcaps):
* sys/xvimage/xvimagesink.c: (gst_xvimagesink_setcaps): Plug a
caps leak.
* win32/common/config.h: Updated.

ChangeLog
sys/ximage/ximagesink.c
sys/xvimage/xvimagesink.c
win32/common/config.h

index b19be93..7f6b32e 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2006-12-27  Julien MOUTTE  <julien@moutte.net>
+
+       * sys/ximage/ximagesink.c: (gst_ximagesink_setcaps):
+       * sys/xvimage/xvimagesink.c: (gst_xvimagesink_setcaps): Plug a
+       caps leak.
+       * win32/common/config.h: Updated.
+
 2006-12-22  Stefan Kost  <ensonic@users.sf.net>
 
        * tests/check/elements/gdpdepay.c: (cleanup_gdpdepay),
index bd24a1d..9644b7c 100644 (file)
@@ -1296,6 +1296,7 @@ gst_ximagesink_setcaps (GstBaseSink * bsink, GstCaps * caps)
   GST_DEBUG_OBJECT (ximagesink, "intersection returned %" GST_PTR_FORMAT,
       intersection);
   if (gst_caps_is_empty (intersection)) {
+    gst_caps_unref (intersection);
     return FALSE;
   }
 
index 9b05666..34eb74f 100644 (file)
@@ -1769,6 +1769,7 @@ gst_xvimagesink_setcaps (GstBaseSink * bsink, GstCaps * caps)
   GST_DEBUG_OBJECT (xvimagesink, "intersection returned %" GST_PTR_FORMAT,
       intersection);
   if (gst_caps_is_empty (intersection)) {
+    gst_caps_unref (intersection);
     return FALSE;
   }
 
index 07c5818..46a9e4f 100644 (file)
@@ -39,7 +39,7 @@
 #define GST_LICENSE "LGPL"
 
 /* package name in plugins */
-#define GST_PACKAGE_NAME "GStreamer Base Plug-ins source release"
+#define GST_PACKAGE_NAME "GStreamer Base Plug-ins CVS/prerelease"
 
 /* package origin */
 #define GST_PACKAGE_ORIGIN "Unknown package origin"
 #undef PACKAGE_NAME "GStreamer Base Plug-ins"
 
 /* Define to the full name and version of this package. */
-#undef PACKAGE_STRING "GStreamer Base Plug-ins 0.10.11"
+#undef PACKAGE_STRING "GStreamer Base Plug-ins 0.10.11.1"
 
 /* Define to the one symbol short name of this package. */
 #undef PACKAGE_TARNAME "gst-plugins-base"
 
 /* Define to the version of this package. */
-#undef PACKAGE_VERSION "0.10.11"
+#undef PACKAGE_VERSION "0.10.11.1"
 
 /* directory where plugins are located */
 #undef PLUGINDIR
 #undef STDC_HEADERS
 
 /* Version number of package */
-#define VERSION "0.10.11"
+#define VERSION "0.10.11.1"
 
 /* Define to 1 if your processor stores words with the most significant byte
    first (like Motorola and SPARC, unlike Intel and VAX). */