@@ -28,6 +28,7 @@ JsonArray* list_map(){
add_array_string(ja, result[i]);
free(result[i]);
}
+ free(result);
return ja;