Commit 47cd1f78 authored by David Gobbi's avatar David Gobbi Committed by Kitware Robot
Browse files

Merge topic 'wrap-vector'

d5f03eb7

 Fix wrapping multiple inheritance crash
Acked-by: Kitware Robot's avatarKitware Robot <kwrobot@kitware.com>
Merge-request: !4650
parents 15dda152 d5f03eb7
......@@ -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