mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 04:01:08 +00:00
Fix releasing local refs
This commit is contained in:
parent
3f0d60515a
commit
f267adeb4a
1 changed files with 2 additions and 2 deletions
|
@ -267,7 +267,7 @@ gst_amc_codec_info_handle_free (GstAmcCodecInfoHandle * handle)
|
|||
env = gst_amc_jni_get_env ();
|
||||
|
||||
if (handle->object)
|
||||
gst_amc_jni_object_unref (env, handle->object);
|
||||
gst_amc_jni_object_local_unref (env, handle->object);
|
||||
g_free (handle);
|
||||
}
|
||||
|
||||
|
@ -403,7 +403,7 @@ gst_amc_codec_capabilities_handle_free (GstAmcCodecCapabilitiesHandle * handle)
|
|||
env = gst_amc_jni_get_env ();
|
||||
|
||||
if (handle->object)
|
||||
gst_amc_jni_object_unref (env, handle->object);
|
||||
gst_amc_jni_object_local_unref (env, handle->object);
|
||||
g_free (handle);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue