diff options
author | David Oberhollenzer <david.oberhollenzer@sigma-star.at> | 2019-06-11 18:15:10 +0200 |
---|---|---|
committer | David Oberhollenzer <david.oberhollenzer@sigma-star.at> | 2019-06-11 18:15:10 +0200 |
commit | 842c5ec8e5c05e0d9c245882f13ca0a6b19825f5 (patch) | |
tree | d04f058efdc486bc25890b8f4d3dea6ea38c5764 /unpack/options.c | |
parent | 8fa122a59f61878bafa43ea45d9ea988f3a70998 (diff) |
cleanup: pull out common code path
Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
Diffstat (limited to 'unpack/options.c')
-rw-r--r-- | unpack/options.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/unpack/options.c b/unpack/options.c index ccfe7c8..84c17cf 100644 --- a/unpack/options.c +++ b/unpack/options.c @@ -124,6 +124,8 @@ void process_command_line(options_t *opt, int argc, char **argv) break; case 'd': opt->op = OP_DESCRIBE; + free(opt->cmdpath); + opt->cmdpath = NULL; break; case 'l': opt->op = OP_LS; |