Qt: Fix library memory leak
Vicki Pfau vi@endrift.com
Mon, 03 Sep 2018 12:47:25 -0700
1 files changed,
1 insertions(+),
0 deletions(-)
jump to
M
src/core/library.c
→
src/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) {