Fix use of deleted memory in Go - note changes director_enum and
director_basic tests output. git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@13555 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
b6f6fcd6d8
commit
5f294a1404
1 changed files with 2 additions and 2 deletions
|
|
@ -3742,9 +3742,9 @@ private:
|
|||
if (is_constructor) {
|
||||
assert(!is_upcall);
|
||||
if (!is_director) {
|
||||
all_result = Getattr(class_node, "classtypeobj");
|
||||
all_result = Copy(Getattr(class_node, "classtypeobj"));
|
||||
} else {
|
||||
all_result = director_struct;
|
||||
all_result = Copy(director_struct);
|
||||
}
|
||||
mismatch = false;
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue