From 4cc1566f75b7a4e89ba44df9998eebf7d0f65ce1 Mon Sep 17 00:00:00 2001 From: "Darryl L. Pierce" Date: Fri, 10 May 2013 14:20:35 +0000 Subject: QPID-4826: Patch Perl bindings memory leak Marked the VariantToPerl() method in swig_perl_typemaps.i as returning a new object, which indicates to the Perl bindings that it needs to keep track of the return value for garbage collection. Also removed the Swig 1.3.32 minimum restriction to enable building on RHEL5 systems. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1481021 13f79535-47bb-0310-9956-ffa450edef68 --- qpid/cpp/include/qpid/swig_perl_typemaps.i | 1 + 1 file changed, 1 insertion(+) (limited to 'qpid/cpp/include') diff --git a/qpid/cpp/include/qpid/swig_perl_typemaps.i b/qpid/cpp/include/qpid/swig_perl_typemaps.i index c1e1d53d94..da24bfe402 100644 --- a/qpid/cpp/include/qpid/swig_perl_typemaps.i +++ b/qpid/cpp/include/qpid/swig_perl_typemaps.i @@ -17,6 +17,7 @@ * under the License. */ +%newobject VariantToPerl; %wrapper %{ #include -- cgit v1.2.1