summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys/ximage/ximagesink.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/ximage/ximagesink.c b/sys/ximage/ximagesink.c
index 629ba6373..0d6a6c868 100644
--- a/sys/ximage/ximagesink.c
+++ b/sys/ximage/ximagesink.c
@@ -1864,6 +1864,7 @@ gst_ximagesink_buffer_alloc (GstBaseSink * bsink, guint64 offset, guint size,
desired_caps);
/* we alloc a buffer with the original incomming caps already in the
* width and height variables */
+ gst_caps_unref (desired_caps);
}
}