Permalink
Browse files

Fixed memory leak

  • Loading branch information...
1 parent cffed12 commit 6071922959b15b5e74be51d7bd673df821c8d0ec @tj tj committed May 13, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/markdown.cc
View
@@ -34,7 +34,7 @@ Parse(const Arguments& args) {
len = mkd_document(doc, &buf);
Handle<String> md = String::New(buf);
mkd_cleanup(doc);
- return md;
+ return scope.Close(md);
}
/*

0 comments on commit 6071922

Please sign in to comment.