fast AGI memory leaks

Home » Asterisk Users » fast AGI memory leaks
Asterisk Users No Comments

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.