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 0b8b17c13..0be480f47 100644
--- a/channels/chan_dahdi.c
+++ b/channels/chan_dahdi.c
@@ -17267,7 +17267,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;
}