[asterisk-users] fast AGI memory leaks
Steve Edwards
asterisk.org at sedwards.com
Thu Jun 16 10:44:45 CDT 2011
On Thu, 16 Jun 2011, vip killa wrote:
> Could someone point me in the right direction of how to create a Fast
> AGI script without memory leaks? I was told i need to clear the result
> set for mysql queries, Im not sure how to do that. My script is a simple
> perl script of 70 lines doing database lookups and executing "dial" and
> "voicemail" I'd be happy to post the code, thanks in advance.
Read the MySQL documentation? Post on the MySQL mailing list? Google?
Failing finding any information on how to free the result, you could
always just close the connection. That's pretty effective in a heavy
handed sort of way.
--
Thanks in advance,
-------------------------------------------------------------------------
Steve Edwards sedwards at sedwards.com Voice: +1-760-468-3867 PST
Newline Fax: +1-760-731-3000
More information about the asterisk-users
mailing list