missing non-null check
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6656 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
b1c2cd26b4
commit
2b71e5fe23
1 changed files with 1 additions and 1 deletions
|
|
@ -405,7 +405,7 @@ Swig_typemap_apply(ParmList *src, ParmList *dest) {
|
|||
*/
|
||||
if (!sm) {
|
||||
SwigType *ntype = SwigType_typedef_resolve(type);
|
||||
if (Cmp(ntype,type) != 0) {
|
||||
if (ntype && (Cmp(ntype,type) != 0)) {
|
||||
sm = Swig_typemap_get(ntype,name,ts);
|
||||
}
|
||||
Delete(ntype);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue