Commit d5f03eb7 authored by David Gobbi's avatar David Gobbi
Browse files

Fix wrapping multiple inheritance crash

Commit ee3f1f1e causes vtkWrapPython to crash when it encounters
classes that use multiple inheritance (a variable was mis-named
during code refactoring).
parent 9b11a207
......@@ -212,8 +212,8 @@ HierarchyEntry *vtkParseHierarchy_FindEntryEx(
{
if (scope_needs_free) { free((char *)scope); }
scope = vtkParseHierarchy_ExpandTypedefsInName(
info, entry->SuperClasses[i], NULL);
scope_needs_free = (scope != entry->SuperClasses[i]);
info, scope_entry->SuperClasses[i], NULL);
scope_needs_free = (scope != scope_entry->SuperClasses[i]);
/* recurse if more than one superclass */
entry = vtkParseHierarchy_FindEntryEx(info, classname, scope);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment