diff options
| author | rajdakin <rajdakin@gmail.com> | 2021-04-09 17:52:59 +0200 |
|---|---|---|
| committer | rajdakin <rajdakin@gmail.com> | 2021-04-09 17:52:59 +0200 |
| commit | 70018a774bf7411ef7550aa4fb3eb153d17dcfd6 (patch) | |
| tree | bd8a6c823b307e1a431a01ea3e27b8d0ac282bfe /src/wrapped | |
| parent | 009bb94f17803dff459b812d7314e300a1b31e1e (diff) | |
| download | box64-70018a774bf7411ef7550aa4fb3eb153d17dcfd6.tar.gz box64-70018a774bf7411ef7550aa4fb3eb153d17dcfd6.zip | |
Fixed the libraries free ordering
Diffstat (limited to 'src/wrapped')
| -rwxr-xr-x | src/wrapped/wrappedlibdl.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/wrapped/wrappedlibdl.c b/src/wrapped/wrappedlibdl.c index 9074cd96..91732a61 100755 --- a/src/wrapped/wrappedlibdl.c +++ b/src/wrapped/wrappedlibdl.c @@ -97,7 +97,7 @@ void* my_dlopen(x64emu_t* emu, void *filename, int flag) } dlopened = (GetLibInternal(rfilename)==NULL); // Then open the lib - if(AddNeededLib(NULL, NULL, is_local, rfilename, emu->context, emu)) { + if(AddNeededLib(NULL, NULL, NULL, is_local, rfilename, emu->context, emu)) { printf_log(LOG_INFO, "Warning: Cannot dlopen(\"%s\"/%p, %X)\n", rfilename, filename, flag); if(!dl->last_error) dl->last_error = malloc(129); @@ -412,4 +412,4 @@ int my_dlinfo(x64emu_t* emu, void* handle, int request, void* info) snprintf(dl->last_error, 129, "unsupported call to dlinfo request:%d\n", request); } return -1; -} \ No newline at end of file +} |