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 */
|
/* special case: PM_OP_SYNC can be used w/ config->op_s_search by any user */
|
||||||
} else {
|
} else {
|
||||||
ERR(NL, "you cannot perform this operation unless you are root.\n");
|
ERR(NL, "you cannot perform this operation unless you are root.\n");
|
||||||
|
config_free(config);
|
||||||
exit(1);
|
exit(1);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue