fix seg fault #901022
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6691 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
6bc74a1f92
commit
8bc4ce3ee5
1 changed files with 1 additions and 1 deletions
|
|
@ -1325,7 +1325,7 @@ SwigType *Swig_symbol_typedef_reduce(SwigType *ty, Symtab *tab) {
|
|||
}
|
||||
if (Strcmp(nodeType(n),"cdecl") == 0) {
|
||||
String *storage = Getattr(n,"storage");
|
||||
if (Strcmp(storage,"typedef") == 0) {
|
||||
if (storage && Strcmp(storage,"typedef") == 0) {
|
||||
SwigType *decl;
|
||||
SwigType *rt;
|
||||
SwigType *qt;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue