summaryrefslogtreecommitdiff
path: root/qpid/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
commit4cc1566f75b7a4e89ba44df9998eebf7d0f65ce1 (patch)
tree40bdfb88d8e8f8884326e93a73bb3ff4a464bc25 /qpid/cpp/include
parent4640dc1ece124c51b855eda3f7048f775187fed9 (diff)
downloadqpid-python-4cc1566f75b7a4e89ba44df9998eebf7d0f65ce1.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@1481021 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/cpp/include')
-rw-r--r--qpid/cpp/include/qpid/swig_perl_typemaps.i1
1 files changed, 1 insertions, 0 deletions
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 <stdarg.h>