all repos — mgba @ f951cebc10550d45ff0e253882573a625d2ae6e5

mGBA Game Boy Advance Emulator

Qt: Fix library memory leak
Vicki Pfau vi@endrift.com
Mon, 03 Sep 2018 12:47:25 -0700
commit

f951cebc10550d45ff0e253882573a625d2ae6e5

parent

ae40277f9d67b6333e1bd4c41d9c6a5a8cb60aa9

1 files changed, 1 insertions(+), 0 deletions(-)

jump to
M src/core/library.csrc/core/library.c

@@ -209,6 +209,7 @@ sqlite3_finalize(library->selectRoot);

sqlite3_finalize(library->select); sqlite3_finalize(library->count); sqlite3_close(library->db); + free(library); } void mLibraryLoadDirectory(struct mLibrary* library, const char* base) {