diff options
author | midipix <writeonce@midipix.org> | 2016-04-06 00:50:13 -0400 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2016-04-06 00:50:13 -0400 |
commit | 5ee0d121982c45913ba81fef90cca399e2fb99ce (patch) | |
tree | 7eaf1c4c382a00a75ca338d1460f5470b988e43a /src/logic/slbt_exec_ctx.c | |
parent | 2ef5be118ccb4838a019549d52544fe800928f67 (diff) | |
download | slibtool-5ee0d121982c45913ba81fef90cca399e2fb99ce.tar.bz2 slibtool-5ee0d121982c45913ba81fef90cca399e2fb99ce.tar.xz |
link mode: executable wrapper: initial implementation.
Diffstat (limited to 'src/logic/slbt_exec_ctx.c')
-rw-r--r-- | src/logic/slbt_exec_ctx.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/logic/slbt_exec_ctx.c b/src/logic/slbt_exec_ctx.c index c9cefdc..8b20f95 100644 --- a/src/logic/slbt_exec_ctx.c +++ b/src/logic/slbt_exec_ctx.c @@ -320,6 +320,9 @@ static int slbt_free_exec_ctx_impl( struct slbt_exec_ctx_impl * ictx, int status) { + if (ictx->ctx.fwrapper) + fclose(ictx->ctx.fwrapper); + free(ictx->args); free(ictx->shadow); free (ictx); |