mirror of
https://github.com/M66B/NetGuard.git
synced 2025-01-03 05:44:14 +00:00
Prevent crash
This commit is contained in:
parent
4baabca0e2
commit
304d2d9026
1 changed files with 2 additions and 1 deletions
|
@ -387,6 +387,7 @@ Java_eu_faircode_netguard_Util_is_1numeric_1address(JNIEnv *env, jclass type, js
|
|||
else
|
||||
numeric = (jboolean) (result != NULL);
|
||||
|
||||
if (result != NULL)
|
||||
freeaddrinfo(result);
|
||||
|
||||
(*env)->ReleaseStringUTFChars(env, ip_, ip);
|
||||
|
|
Loading…
Reference in a new issue