aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--channels/chan_dahdi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/channels/chan_dahdi.c b/channels/chan_dahdi.c
index e54a8d8b2..fca763998 100644
--- a/channels/chan_dahdi.c
+++ b/channels/chan_dahdi.c
@@ -15304,7 +15304,7 @@ static int setup_dahdi(int reload)
ast_mutex_unlock(&iflock);
ast_config_destroy(cfg);
if (ucfg) {
- ast_config_destroy(cfg);
+ ast_config_destroy(ucfg);
}
return res;
}