From 8645607b8b76d27fb18ff68a4a2c76e6b413f3cc Mon Sep 17 00:00:00 2001 From: midipix Date: Mon, 14 Nov 2016 12:29:36 -0500 Subject: libary api: pre-alpha: code maintenance: removed struct pe_symbol_ctx. --- src/driver/pe_driver_ctx.c | 7 ------- 1 file changed, 7 deletions(-) (limited to 'src/driver') diff --git a/src/driver/pe_driver_ctx.c b/src/driver/pe_driver_ctx.c index 942291b..2158957 100644 --- a/src/driver/pe_driver_ctx.c +++ b/src/driver/pe_driver_ctx.c @@ -91,7 +91,6 @@ static struct pe_driver_ctx_impl * pe_driver_ctx_alloc( ictx->ctx.erricap = &ictx->ctx.erriptr[--elements]; ictx->meta = meta; - ictx->ctx.cctx.symctx = &ictx->ctx.symctx; ictx->ctx.cctx.outctx = &ictx->ctx.outctx; ictx->ctx.cctx.lnkctx = &ictx->ctx.lnkctx; ictx->ctx.cctx.srvctx = &ictx->ctx.srvctx; @@ -227,12 +226,6 @@ static void pe_driver_close_fds(struct pe_common_ctx * cctx) static void pe_free_driver_ctx_impl(struct pe_driver_ctx_alloc * ictx) { - if (ictx->ctx.symctx.append) - free(ictx->ctx.symctx.append); - - if (ictx->ctx.symctx.exclude) - free(ictx->ctx.symctx.exclude); - pe_driver_close_fds(&ictx->ctx.cctx); argv_free(ictx->meta); free(ictx); -- cgit v1.2.3