aboutsummaryrefslogtreecommitdiff
path: root/src/Conf.cpp
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2018-06-28 16:57:37 +0200
committerdec05eba <dec05eba@protonmail.com>2020-07-06 07:39:32 +0200
commite132c085d2438fec368bdaf26032037bc7e88d00 (patch)
tree83047b4a5731d392019ee1c5a17a8531b1e293e3 /src/Conf.cpp
parent5bb7ee28bc4f5a0ee119de46165c507d6db995a3 (diff)
Add compiled files to .gitignore on sibs new and sibs init
Diffstat (limited to 'src/Conf.cpp')
-rw-r--r--src/Conf.cpp1
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);
}