[SR-Users] sql_pvquery free result
Daniel-Constantin Mierla
miconda at gmail.com
Fri Mar 9 08:58:21 CET 2018
Hello,
On 08.03.18 09:03, Ben Hood wrote:
> Hi,
>
> Does sql_pvquery() clean up after itself?
>
> The other query APIs return a result handle that you clean up with sql_result_free(), but sql_pvquery() doesn’t appear to return any handle, so is it self-collecting?
>
yes, the db result is cleaned up internally, the value being copied into
variable before that.
Cheers,
Daniel
--
Daniel-Constantin Mierla
www.twitter.com/miconda -- www.linkedin.com/in/miconda
Kamailio Advanced Training - April 16-18, 2018, Berlin - www.asipto.com
Kamailio World Conference - May 14-16, 2018 - www.kamailioworld.com
More information about the sr-users
mailing list