diff options
| author | ptitSeb <sebastien.chev@gmail.com> | 2025-04-27 12:38:32 +0200 |
|---|---|---|
| committer | ptitSeb <sebastien.chev@gmail.com> | 2025-04-27 12:38:32 +0200 |
| commit | 4add55aa4525123b1e94beb64c4b55411a2eda81 (patch) | |
| tree | 447c8021142ad015aa11801e7ad32e483f1f8537 /src | |
| parent | 7334bb46c6b398e85977d6f9d2341a9b53434687 (diff) | |
| download | box64-4add55aa4525123b1e94beb64c4b55411a2eda81.tar.gz box64-4add55aa4525123b1e94beb64c4b55411a2eda81.zip | |
[ELFLOADER] Fixed an issue were fail to load a library might endup unloading used libraries
Diffstat (limited to 'src')
| -rw-r--r-- | src/librarian/librarian.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/librarian/librarian.c b/src/librarian/librarian.c index c130e092..04e552d7 100644 --- a/src/librarian/librarian.c +++ b/src/librarian/librarian.c @@ -354,12 +354,6 @@ int AddNeededLib(lib_t* maplib, int local, int bindnow, int deepbind, needed_lib printf_log(LOG_INFO, "Error initializing needed lib %s\n", needed->names[i]); ret = 1; } - // error while loadind lib, unload... - if(ret) { - int n = needed->size; - for (int i=0; i<n; ++i) - DecRefCount(&needed->libs[n-i-1], emu); - } // all done if(BOX64ENV(allow_missing_libs)) return 0; return ret; |