diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/pacman/pacman.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/pacman/pacman.c b/src/pacman/pacman.c index 8c76987e..ef909783 100644 --- a/src/pacman/pacman.c +++ b/src/pacman/pacman.c @@ -414,9 +414,7 @@ static int parsearg_global(int opt) enable_colors(config->color); break; case OP_CONFIG: - if(config->configfile) { - free(config->configfile); - } + free(config->configfile); config->configfile = strndup(optarg, PATH_MAX); break; case OP_DEBUG: |