jp2enc: Unref peer caps after usage to fix a memory leak

This commit is contained in:
Sebastian Dröge 2009-04-02 13:05:11 +02:00
parent 031ecef2f5
commit 3eba30d509

View file

@ -193,6 +193,7 @@ gst_jasper_enc_set_src_caps (GstJasperEnc * enc)
break;
}
}
gst_caps_unref (peercaps);
}
/* enumerated colourspace */