[OpenSIPS-Devel] SF.net SVN: opensips:[9554] branches/1.8/modules/perl/perlfunc.c

Bogdan-Andrei Iancu bogdan at opensips.org
Tue Jan 15 17:01:39 CET 2013


Revision: 9554
          http://opensips.svn.sourceforge.net/opensips/?rev=9554&view=rev
Author:   bogdan_iancu
Date:     2013-01-15 16:01:39 +0000 (Tue, 15 Jan 2013)
Log Message:
-----------
backport from trunk (rev #9553)
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. 

  Credits go to Boris Ratner ( ratner2 on SF)
  Closes patch #3599210

Revision Links:
--------------
    http://opensips.svn.sourceforge.net/opensips/?rev=9553&view=rev

Modified Paths:
--------------
    branches/1.8/modules/perl/perlfunc.c

This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.




More information about the Devel mailing list