mirror of
https://github.com/moparisthebest/pacman
synced 2024-08-13 17:03:46 -04:00
fixed a possible memory leak
This commit is contained in:
parent
633c89b532
commit
2b8d00a5e8
@ -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);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user