... | ... |
@@ -1530,12 +1530,12 @@ static int vbadump(const struct optstruct *opts) |
1530 | 1530 |
return -1; |
1531 | 1531 |
} |
1532 | 1532 |
if(cli_ole2_extract(dir, ctx, &vba)) { |
1533 |
- destroy_ctx(ctx); |
|
1533 |
+ destroy_ctx(-1, ctx); |
|
1534 | 1534 |
cli_rmdirs(dir); |
1535 | 1535 |
free(dir); |
1536 | 1536 |
return -1; |
1537 | 1537 |
} |
1538 |
- destroy_ctx(ctx); |
|
1538 |
+ destroy_ctx(-1, ctx); |
|
1539 | 1539 |
if (vba) |
1540 | 1540 |
sigtool_vba_scandir(dir, hex_output, vba); |
1541 | 1541 |
cli_rmdirs(dir); |