1
0
Fork 0
mirror of https://github.com/M66B/NetGuard.git synced 2025-01-03 05:44:14 +00:00

Prevent crash

This commit is contained in:
M66B 2019-08-05 15:54:58 +02:00
parent 4baabca0e2
commit 304d2d9026

View file

@ -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);