summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gst/rawparse/gstrawparse.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gst/rawparse/gstrawparse.c b/gst/rawparse/gstrawparse.c
index ec955f655..9e02aa62a 100644
--- a/gst/rawparse/gstrawparse.c
+++ b/gst/rawparse/gstrawparse.c
@@ -225,6 +225,7 @@ gst_raw_parse_set_src_caps (GstRawParse * rp)
}
rp->negotiated = gst_pad_set_caps (rp->srcpad, caps);
+ gst_caps_unref (caps);
return rp->negotiated;
}