diff options
author | Olly Betts <olly@survex.com> | 2015-05-09 18:34:11 +1200 |
---|---|---|
committer | Olly Betts <olly@survex.com> | 2015-05-09 18:34:11 +1200 |
commit | 083a03710ae0dedfe2fcc595c05ba5693cce487d (patch) | |
tree | 0dbe83004a84f7edc86ee702eecd389d4d98dbf3 /Lib/perl5/director.swg | |
parent | 51541d78088a335cf16b370ca0947df632cbd3ff (diff) | |
download | swig-083a03710ae0dedfe2fcc595c05ba5693cce487d.tar.gz |
Remove no-op calls to swig_incref().
Python and Perl were calling this from the Director constructor, but
swig_disown_flag is always false at that point, so the call doesn't
do anything.
Diffstat (limited to 'Lib/perl5/director.swg')
-rw-r--r-- | Lib/perl5/director.swg | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/Lib/perl5/director.swg b/Lib/perl5/director.swg index 714a87877..acdd5c3d8 100644 --- a/Lib/perl5/director.swg +++ b/Lib/perl5/director.swg @@ -233,7 +233,6 @@ namespace Swig { char *str = SvPV(pkg, len); swig_class = std::string(str, len); swig_self = newRV_inc((SV *)newHV()); - swig_incref(); } /* discard our reference at destruction */ |