[Perl] Remove bogus assertion (patch from David Fletcher).

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11671 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
Olly Betts 2009-08-29 06:53:25 +00:00
commit 415d2b6fe9
2 changed files with 2 additions and 1 deletions

View file

@ -1,3 +1,5 @@
Version 1.3.41 (in progress)
============================
2009-08-29: olly
[Perl] Remove bogus assertion (patch from David Fletcher).

View file

@ -293,7 +293,6 @@ SWIG_Perl_ConvertPtrAndOwn(SWIG_MAYBE_PERL_OBJECT SV *sv, void **ptr, swig_type_
int newmemory = 0;
*ptr = SWIG_TypeCast(tc,voidptr,&newmemory);
if (newmemory == SWIG_CAST_NEW_MEMORY) {
assert(own);
if (own)
*own = *own | SWIG_CAST_NEW_MEMORY;
}