aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--makecab.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/makecab.c b/makecab.c
index ec4ba05..6c93a22 100644
--- a/makecab.c
+++ b/makecab.c
@@ -8,7 +8,7 @@
8#include "uchars.h" 8#include "uchars.h"
9 9
10typedef struct CabCreateContext { 10typedef struct CabCreateContext {
11 char *outfile; 11 char *outfile; /* aliases one of args[] */
12 12
13 char **args; 13 char **args;
14 int nargs, argsize; 14 int nargs, argsize;
@@ -67,7 +67,6 @@ void CreateCabCancel(CabCreateContext *ctx)
67 for (int i = 0; i < ctx->nargs; i++) 67 for (int i = 0; i < ctx->nargs; i++)
68 sfree(ctx->args[i]); 68 sfree(ctx->args[i]);
69 sfree(ctx->args); 69 sfree(ctx->args);
70 sfree(ctx->outfile);
71 sfree(ctx); 70 sfree(ctx);
72} 71}
73 72