diff --git a/channels/chan_dahdi.c b/channels/chan_dahdi.c index 3c48be7a30..601c6efd18 100644 --- a/channels/chan_dahdi.c +++ b/channels/chan_dahdi.c @@ -17722,7 +17722,7 @@ static int setup_dahdi_int(int reload, struct dahdi_chan_conf *base_conf, struct ast_mutex_unlock(&iflock); ast_config_destroy(cfg); if (ucfg) { - ast_config_destroy(cfg); + ast_config_destroy(ucfg); } return res; }