about summary refs log tree commit diff stats
path: root/src/elfs
diff options
context:
space:
mode:
authorptitSeb <sebastien.chev@gmail.com>2023-04-16 09:32:54 +0200
committerptitSeb <sebastien.chev@gmail.com>2023-04-16 09:32:54 +0200
commit9880a488ac919316f07a8ce5e8da546fb9029cf6 (patch)
tree4f08812f2f68d56c62ccdaf954a8c21a60b24876 /src/elfs
parentf59675e9bf438cfca082c5d35bc07ca19762195b (diff)
downloadbox64-9880a488ac919316f07a8ce5e8da546fb9029cf6.tar.gz
box64-9880a488ac919316f07a8ce5e8da546fb9029cf6.zip
Another fix for dlopen/dlclose sequence (should be ok now, at last)
Diffstat (limited to 'src/elfs')
-rwxr-xr-xsrc/elfs/elfloader.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/elfs/elfloader.c b/src/elfs/elfloader.c
index 10db2c86..225f2058 100755
--- a/src/elfs/elfloader.c
+++ b/src/elfs/elfloader.c
@@ -1347,8 +1347,6 @@ void RunElfFini(elfheader_t* h, x64emu_t *emu)
         RunFunctionWithEmu(emu, 0, p, 0);
     }
     h->init_done = 0;   // can be re-inited again...
-    for(int i=0; i<h->needed->size; ++i)
-        DecRefCount(&h->needed->libs[i], emu);
     return;
 }