View Single Post
jdlovins
Junior Member
Join Date: Sep 2015
Old 07-27-2017 , 11:26   Re: REST in Pawn - HTTP and JSON methodmaps
Reply With Quote #10

Quick question,

Do i have to delete response.Data after im done with the data or does that get auto cleaned up? In your examples you only delete the handles spawned by looping through an array.

Thanks!

edit:

looking at the source,

Code:
handlesys->FreeHandle(hndlResponse, &sec);
handlesys->FreeHandle(response.hndlData, &sec);
I guess this takes care of the JSON response and the actual response handles?

Last edited by jdlovins; 07-27-2017 at 11:29.
jdlovins is offline