Commit 32711116 authored by npzacs's avatar npzacs
Browse files

Check for NULL

parent 12e0ceca
......@@ -676,6 +676,9 @@ config_file *keydbcfg_config_load(const char *configfile_path)
int config_ok = 0;
config_file *cf = keydbcfg_new_config_file();
if (!cf) {
return NULL;
}
/* try to load KEYDB.cfg */
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment