summaryrefslogtreecommitdiffstats
path: root/ext
diff options
context:
space:
mode:
authorSebastian Dröge <sebastian.droege@collabora.co.uk>2009-04-02 13:05:11 +0200
committerDave Robillard <dave@drobilla.net>2009-05-03 12:03:13 -0400
commitbdd0937643a2afa21718eb3e2c3648807e639c3f (patch)
treea202f79638b39050841e8a84cac45311b727b552 /ext
parent2df9dcca241166106ce9200539e29d627559039b (diff)
downloadgst-plugins-bad-bdd0937643a2afa21718eb3e2c3648807e639c3f.tar.gz
gst-plugins-bad-bdd0937643a2afa21718eb3e2c3648807e639c3f.tar.bz2
gst-plugins-bad-bdd0937643a2afa21718eb3e2c3648807e639c3f.zip
jp2enc: Unref peer caps after usage to fix a memory leak
Diffstat (limited to 'ext')
-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 */