Commit 3fe3de43 by leiguo1029

4/1

parent 6f830481
...@@ -30,8 +30,9 @@ void collect_app_info(JNIEnv* env, cJSON *json) { ...@@ -30,8 +30,9 @@ void collect_app_info(JNIEnv* env, cJSON *json) {
jlong lastUpdateTime = wdGetLongField(env, pkgInfo, "lastUpdateTime", "J"); jlong lastUpdateTime = wdGetLongField(env, pkgInfo, "lastUpdateTime", "J");
cJSON_AddNumberToObject(json, "last_update_time", lastUpdateTime); cJSON_AddNumberToObject(json, "last_update_time", lastUpdateTime);
const char* info = cJSON_Print(json);
(*env)->DeleteLocalRef(env, pkgName); (*env)->DeleteLocalRef(env, pkgName);
const char* info = cJSON_Print(json);
cJSON_free(json);
return; return;
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment