Skip to content

Commit

Permalink
Fixed memory leak
Browse files Browse the repository at this point in the history
  • Loading branch information
tj committed May 13, 2010
1 parent cffed12 commit 6071922
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/markdown.cc
Expand Up @@ -34,7 +34,7 @@ Parse(const Arguments& args) {
len = mkd_document(doc, &buf); len = mkd_document(doc, &buf);
Handle<String> md = String::New(buf); Handle<String> md = String::New(buf);
mkd_cleanup(doc); mkd_cleanup(doc);
return md; return scope.Close(md);
} }


/* /*
Expand Down

0 comments on commit 6071922

Please sign in to comment.