diff --git a/naett.c b/naett.c index a1e05a2..0c9e5e7 100644 --- a/naett.c +++ b/naett.c @@ -1492,6 +1492,7 @@ static void* processRequest(void* data) { (*env)->DeleteLocalRef(env, name); (*env)->DeleteLocalRef(env, value); + (*env)->DeleteLocalRef(env, values); } int statusCode = intCall(env, connection, "getResponseCode", "()I");