fix(core): a little bug fix in sappyou.c
This commit is contained in:
parent
7bdcd3e495
commit
7d97948e74
@ -26,6 +26,7 @@ int sappyou_free(Sappyou *sappyou) {
|
|||||||
free(sappyou->database[i].description);
|
free(sappyou->database[i].description);
|
||||||
}
|
}
|
||||||
free(sappyou->database);
|
free(sappyou->database);
|
||||||
|
free(sappyou->holes);
|
||||||
if (sappyou->file != NULL) {
|
if (sappyou->file != NULL) {
|
||||||
fclose(sappyou->file);
|
fclose(sappyou->file);
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user