diff options
Diffstat (limited to 'src/Conf.cpp')
-rw-r--r-- | src/Conf.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Conf.cpp b/src/Conf.cpp index 4424551..c71c7bc 100644 --- a/src/Conf.cpp +++ b/src/Conf.cpp @@ -458,6 +458,7 @@ namespace sibs if(fileContentResult.unwrap().size >= 3 && utf8::is_bom(code)) code += 3; + // Do not free file content (fileContentResult) on purpose, since we are using the data and sibs is short lived return Parser::parse(code, callback); } |