Commit 89cebac5 authored by anonymous's avatar anonymous
Browse files

Fix leak

parent dda6b259
......@@ -291,6 +291,7 @@ int bdplus_config_load(const char *config_path,
if (!config->aes_keys || !config->ecdsa_keys || !config->dev) {
BD_DEBUG(DBG_FILE | DBG_CRIT, "out of memory\n");
X_FREE(base);
return -1;
}
......
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