[OpenSIPS-Devel] [ opensips-Patches-3599210 ] fix memory leak in perl.so
SourceForge.net
noreply at sourceforge.net
Wed Jan 2 14:24:07 CET 2013
Patches item #3599210, was opened at 2013-01-02 05:24
Message generated for change (Tracker Item Submitted) made by ratner2
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=1086412&aid=3599210&group_id=232389
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: bratner (ratner2)
Assigned to: Nobody/Anonymous (nobody)
Summary: fix memory leak in perl.so
Initial Comment:
fixes perl_exec2() in perlfunc.c. The message object that is passed to the perl-script
was left hanging after every call to perl_exec() in the opensips script.
Moved the declaration of OpenSIPS::Message object to the SAVETMPS/FREETMPS
segment so it will be freed before the function returns.
Tested by using Devel::Gladiator.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=1086412&aid=3599210&group_id=232389
More information about the Devel
mailing list