revert objinfo fix. If objinfo is null then we have
a malformed DOH and things should crash git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12946 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
9f714ec92a
commit
f67509e154
1 changed files with 1 additions and 1 deletions
|
|
@ -784,7 +784,7 @@ int DohIsString(const DOH *obj) {
|
|||
if (!DohCheck(b))
|
||||
return 0;
|
||||
objinfo = b->type;
|
||||
if (objinfo && objinfo->doh_string)
|
||||
if (objinfo->doh_string)
|
||||
return 1;
|
||||
else
|
||||
return 0;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue