diff options
author | midipix <writeonce@midipix.org> | 2024-02-26 01:40:46 +0000 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2024-02-26 01:40:46 +0000 |
commit | a2aa784db35ca08cc5a7e65de1831cd53fb52346 (patch) | |
tree | 746f75dfcd519dd6165918838618d37f30b0e07d /src/driver | |
parent | 3d2f83b5a3d42dd9b3430379a08a81f8004c7eb4 (diff) | |
download | slibtool-a2aa784db35ca08cc5a7e65de1831cd53fb52346.tar.bz2 slibtool-a2aa784db35ca08cc5a7e65de1831cd53fb52346.tar.xz |
slbt_get_lconf_flags(): cache the configuration in library friendly form.
Diffstat (limited to 'src/driver')
-rw-r--r-- | src/driver/slbt_driver_ctx.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/driver/slbt_driver_ctx.c b/src/driver/slbt_driver_ctx.c index a94b352..b3fe43a 100644 --- a/src/driver/slbt_driver_ctx.c +++ b/src/driver/slbt_driver_ctx.c @@ -1001,6 +1001,9 @@ static void slbt_lib_free_driver_ctx_impl(struct slbt_driver_ctx_alloc * ictx) ictx->ctx.lconf.addr, ictx->ctx.lconf.size); + if (ictx->ctx.lconfctx) + slbt_lib_free_txtfile_ctx(ictx->ctx.lconfctx); + for (objlistp=ictx->ctx.objlistv; objlistp->name; objlistp++) { free(objlistp->objv); free(objlistp->addr); |