summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ext/jp2k/gstjasperenc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/jp2k/gstjasperenc.c b/ext/jp2k/gstjasperenc.c
index fbd4fd57..47818eb3 100644
--- a/ext/jp2k/gstjasperenc.c
+++ b/ext/jp2k/gstjasperenc.c
@@ -193,6 +193,7 @@ gst_jasper_enc_set_src_caps (GstJasperEnc * enc)
break;
}
}
+ gst_caps_unref (peercaps);
}
/* enumerated colourspace */