summaryrefslogtreecommitdiff
path: root/cpp/include
diff options
context:
space:
mode:
authorDarryl L. Pierce <mcpierce@apache.org>2013-05-10 14:20:35 +0000
committerDarryl L. Pierce <mcpierce@apache.org>2013-05-10 14:20:35 +0000
commit77b865263496fbecb4c0928b141b07a036c78488 (patch)
treef906d7355c509bab8590124a6a194625bfc5012a /cpp/include
parent71eb4017a1647dd17abf123608ba4ac26330b1da (diff)
downloadqpid-python-77b865263496fbecb4c0928b141b07a036c78488.tar.gz
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/qpid@1481021 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/include')
-rw-r--r--cpp/include/qpid/swig_perl_typemaps.i1
1 files changed, 1 insertions, 0 deletions
diff --git a/cpp/include/qpid/swig_perl_typemaps.i b/cpp/include/qpid/swig_perl_typemaps.i
index c1e1d53d94..da24bfe402 100644
--- a/cpp/include/qpid/swig_perl_typemaps.i
+++ b/cpp/include/qpid/swig_perl_typemaps.i
@@ -17,6 +17,7 @@
* under the License.
*/
+%newobject VariantToPerl;
%wrapper %{
#include <stdarg.h>