miscellaneous
This commit is contained in:
parent
7138acc056
commit
d02753efb0
4
main.cpp
4
main.cpp
@ -417,7 +417,7 @@ int init(char *fileName) {
|
||||
solve(moves, board);
|
||||
// --- ALGORITHM END ---
|
||||
|
||||
// --- CLEANUP START ---
|
||||
// --- MEMORY CLEANUP START ---
|
||||
dealloc(fileInpPtr);
|
||||
deallocBoard(board, moves.x);
|
||||
fclose(inp);
|
||||
@ -426,7 +426,7 @@ int init(char *fileName) {
|
||||
pter "Memory leak detected" << nl;
|
||||
return 1;
|
||||
}
|
||||
// --- CLEANUP END ---
|
||||
// --- MEMORY CLEANUP END ---
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user