miscellaneous

This commit is contained in:
Sandipsinh Rathod 2024-10-10 19:56:52 -04:00
parent 7138acc056
commit d02753efb0

@ -417,7 +417,7 @@ int init(char *fileName) {
solve(moves, board); solve(moves, board);
// --- ALGORITHM END --- // --- ALGORITHM END ---
// --- CLEANUP START --- // --- MEMORY CLEANUP START ---
dealloc(fileInpPtr); dealloc(fileInpPtr);
deallocBoard(board, moves.x); deallocBoard(board, moves.x);
fclose(inp); fclose(inp);
@ -426,7 +426,7 @@ int init(char *fileName) {
pter "Memory leak detected" << nl; pter "Memory leak detected" << nl;
return 1; return 1;
} }
// --- CLEANUP END --- // --- MEMORY CLEANUP END ---
return 0; return 0;
} }