lpac-jni: Call es9p_ctx_free
All checks were successful
/ build-debug (push) Successful in 4m5s

This commit is contained in:
Peter Cai 2024-02-24 16:10:55 -05:00
parent 4ded234ed2
commit 18cd9acdb8
2 changed files with 2 additions and 0 deletions

View file

@ -136,6 +136,7 @@ Java_net_typeblog_lpac_1jni_LpacJni_downloadProfile(JNIEnv *env, jobject thiz, j
b64_bound_profile_package);
out:
es9p_ctx_free(&es9p_ctx);
free(b64_authenticate_server_response);
free(b64_prepare_download_response);
free(b64_euicc_info_1);

View file

@ -110,6 +110,7 @@ Java_net_typeblog_lpac_1jni_LpacJni_handleNotification(JNIEnv *env, jobject thiz
goto out;
out:
es9p_ctx_free(&es9p_ctx);
return res;
}