Skip to content

Commit

Permalink
clusterer: Do not segfault on failed OpenSIPS startup
Browse files Browse the repository at this point in the history
(cherry picked from commit 00504b1)
  • Loading branch information
liviuchircu committed Jan 23, 2019
1 parent 52ff74a commit dd013d0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions modules/clusterer/clusterer_mod.c
Expand Up @@ -355,7 +355,9 @@ static int mod_init(void)
LM_ERR("Failed to load info from DB\n");
goto error;
}

dr_dbf.close(db_hdl);
db_hdl = NULL;
}

/* register timer */
Expand Down

0 comments on commit dd013d0

Please sign in to comment.