mirror of
https://github.com/github/semantic.git
synced 2024-11-28 01:47:01 +03:00
Free the document at the end too I guess.
This commit is contained in:
parent
7ab0b76abf
commit
86bf87b6a8
@ -45,6 +45,7 @@ main = do
|
||||
ts_document_set_input_string document source
|
||||
ts_document_parse document
|
||||
free source
|
||||
ts_document_free document
|
||||
putStrLn $ "cSizeOf " ++ show (cSizeOf document)
|
||||
|
||||
parseModuleFile :: FilePath -> IO (ParseResult HsModule)
|
||||
|
Loading…
Reference in New Issue
Block a user