Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix memory leak.
  • Loading branch information
pmurias committed Jan 16, 2012
1 parent fb15db4 commit 82ae125
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/Perl5Interpreter.cs
Expand Up @@ -118,6 +118,7 @@ int argument_n

IntPtr sv = Perl5Interpreter.newSVpvn(ptr,array.Length);
Perl5Interpreter.SvUTF8_on(sv);
Marshal.FreeHGlobal(ptr);
return sv;
}

Expand Down

0 comments on commit 82ae125

Please sign in to comment.