summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/pacman/pacman.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/pacman/pacman.c b/src/pacman/pacman.c
index 7738a280..8930d064 100644
--- a/src/pacman/pacman.c
+++ b/src/pacman/pacman.c
@@ -119,6 +119,7 @@ int main(int argc, char *argv[])
/* special case: PM_OP_SYNC can be used w/ config->op_s_search by any user */
} else {
ERR(NL, "you cannot perform this operation unless you are root.\n");
+ config_free(config);
exit(1);
}
}