diff options
| author | ptitSeb <sebastien.chev@gmail.com> | 2024-02-24 12:09:32 +0100 |
|---|---|---|
| committer | ptitSeb <sebastien.chev@gmail.com> | 2024-02-24 12:09:32 +0100 |
| commit | d3eb6b8a11bf4812a02872577a4737116e24c912 (patch) | |
| tree | 2696f933b0b29098c7ae80dffd23844ef7df9b34 /src | |
| parent | cc0ce73d39d0f5b79c2a4a25d35c5f56ed8e9520 (diff) | |
| download | box64-d3eb6b8a11bf4812a02872577a4737116e24c912.tar.gz box64-d3eb6b8a11bf4812a02872577a4737116e24c912.zip | |
Small memory leak fixed with PRELOAD library
Diffstat (limited to 'src')
| -rw-r--r-- | src/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.c b/src/main.c index 491bde58..f98acffe 100644 --- a/src/main.c +++ b/src/main.c @@ -2089,8 +2089,8 @@ int main(int argc, const char **argv, char **env) { } else { for(int j=0; j<tmp->size; ++j) add1lib_neededlib(my_context->preload, tmp->libs[j], tmp->names[j]); - free_neededlib(tmp); } + free_neededlib(tmp); } } FreeCollection(&ld_preload); |