Skip to content
Snippets Groups Projects
Commit a0559816 authored by p-const's avatar p-const
Browse files

redundant free removed

parent f4f39fce
No related branches found
No related tags found
No related merge requests found
...@@ -114,7 +114,6 @@ pcdb_instance *dap_cdb_init_group(char *a_group, int a_flags) { ...@@ -114,7 +114,6 @@ pcdb_instance *dap_cdb_init_group(char *a_group, int a_flags) {
cdb_open(l_cdb_i->cdb, l_cdb_path, a_flags) < 0) cdb_open(l_cdb_i->cdb, l_cdb_path, a_flags) < 0)
{ {
log_it(L_ERROR, "An error occured while opening CDB: \"%s\"", cdb_errmsg(cdb_errno(l_cdb_i->cdb))); log_it(L_ERROR, "An error occured while opening CDB: \"%s\"", cdb_errmsg(cdb_errno(l_cdb_i->cdb)));
DAP_DELETE(l_cdb_i->cdb);
DAP_DELETE(l_cdb_i->local_group); DAP_DELETE(l_cdb_i->local_group);
DAP_DELETE(l_cdb_i); DAP_DELETE(l_cdb_i);
return NULL; return NULL;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment