solved json object handle issue
This commit is contained in:
parent
6da4204e0a
commit
14acc55aea
@ -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);
|
Format(g_cTimeRecords[counter], sizeof(g_cTimeRecords[]), "%s LVL: %i", player_name, I_player_points/1000);
|
||||||
counter++;
|
counter++;
|
||||||
json_cleanup_and_delete(position_obj);
|
|
||||||
}
|
}
|
||||||
|
//just cleaning the outmost object should be enough.
|
||||||
json_cleanup_and_delete(obj);
|
json_cleanup_and_delete(obj);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user