diff options
| author | ptitSeb <sebastien.chev@gmail.com> | 2022-03-01 23:39:01 +0100 |
|---|---|---|
| committer | ptitSeb <sebastien.chev@gmail.com> | 2022-03-01 23:39:01 +0100 |
| commit | 8b1f55aff0201549279684dc3f1d59f42a8fb0d4 (patch) | |
| tree | 2c4480443e86913bd870fff033865dc2e8e38a49 /src/box64context.c | |
| parent | b00764d658fbf3a9068a57cfe1fe41e2283ad5cb (diff) | |
| download | box64-8b1f55aff0201549279684dc3f1d59f42a8fb0d4.tar.gz box64-8b1f55aff0201549279684dc3f1d59f42a8fb0d4.zip | |
More work on readlinkat and clone syscall
Diffstat (limited to 'src/box64context.c')
| -rwxr-xr-x | src/box64context.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/box64context.c b/src/box64context.c index ee56ce5a..9d8e5d5d 100755 --- a/src/box64context.c +++ b/src/box64context.c @@ -259,6 +259,9 @@ void FreeBox64Context(box64context_t** context) freeGLProcWrapper(ctx); freeALProcWrapper(ctx); + if(ctx->stack_clone) + free(ctx->stack_clone); + void* ptr; if ((ptr = pthread_getspecific(ctx->tlskey)) != NULL) { |