solved json object handle issue

This commit is contained in:
jenz 2024-06-13 17:38:39 +02:00
parent 6da4204e0a
commit 14acc55aea

View File

@ -37,8 +37,8 @@ public int OnTransferResponse(char[] sData)
Format(g_cTimeRecords[counter], sizeof(g_cTimeRecords[]), "%s LVL: %i", player_name, I_player_points/1000);
counter++;
json_cleanup_and_delete(position_obj);
}
//just cleaning the outmost object should be enough.
json_cleanup_and_delete(obj);
return 0;
}