From c74d8bb6028ec1d16aef04f7ae4cbc6bca34a044 Mon Sep 17 00:00:00 2001 From: ptitSeb Date: Sat, 22 Apr 2023 10:12:09 +0200 Subject: Fixed and improved __cxa_atexit handling --- src/librarian/librarian.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/librarian') diff --git a/src/librarian/librarian.c b/src/librarian/librarian.c index f704239d..6733c3af 100755 --- a/src/librarian/librarian.c +++ b/src/librarian/librarian.c @@ -39,12 +39,12 @@ void FreeLibrarian(lib_t **maplib, x64emu_t *emu) library_t* owner = (*maplib)->owner; (*maplib)->owner = NULL; // to avoid recursive free... - if((*maplib)->ownlibs && (*maplib)->libsz) { + /*if((*maplib)->ownlibs && (*maplib)->libsz) { for(int i=0; i<(*maplib)->libsz; ++i) { printf_log(LOG_DEBUG, "Unloading %s\n", (*maplib)->libraries[i]->name); DecRefCount(&(*maplib)->libraries[i], emu); } - } + }*/ box_free((*maplib)->libraries); (*maplib)->libraries = NULL; -- cgit 1.4.1