Fix memory related bug in generalized javascript emitter.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/oliverb-javascript-v8@13752 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
285badb95b
commit
8e0711cbc6
1 changed files with 1 additions and 1 deletions
|
|
@ -107,7 +107,7 @@ int JSEmitter::EmitWrapperFunction(Node* n)
|
|||
int ret = SWIG_OK;
|
||||
|
||||
current_wrapper = NewWrapper();
|
||||
Setattr(n, "wrap:name", Getattr(n, "sym:name"));
|
||||
Setattr(n, "wrap:name", NewString(Getattr(n, "sym:name")));
|
||||
|
||||
String* kind = Getattr(n, "kind");
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue