warranty 0 memoey leak
Build project / build (push) Successful in 58s

This commit is contained in:
Arthur Barraux
2026-01-14 20:24:37 +01:00
parent d0afd4f304
commit 23036cf3d3
2 changed files with 2 additions and 0 deletions
+1
View File
@@ -18,6 +18,7 @@ echo "Create config files ..."
mkdir -pv ~/.beluga/
cp -rv ./assets/ ~/.beluga/
mkdir -pv ~/.beluga/packages/
mkdir -pv ~/.beluga/config/
read -p "Do you want to replace your config file or keep it (init.lisp.bak) / (init.lisp.new) ? (Y/n)" confirm
if [[ "$confirm" =~ ^[Yy]$ ]]; then
+1
View File
@@ -70,6 +70,7 @@ void editorCloseFile(void) {
free(E.row[i].render);
}
E.numrows = 0;
free(E.row);
E.row = NULL;
E.dirty = 0;
free(E.filename);