fixed a possible memory leak

This commit is contained in:
Aurelien Foret 2006-02-04 10:39:12 +00:00
parent 633c89b532
commit 2b8d00a5e8
1 changed files with 1 additions and 0 deletions

View File

@ -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);
}
}