diff --git a/cel/cel_odbc.c b/cel/cel_odbc.c
index 3c0be04e848aba53a3b55c0a98f7fcfe837f0845..a10aadae95754880cbc98050b12aaac65daec01c 100644
--- a/cel/cel_odbc.c
+++ b/cel/cel_odbc.c
@@ -291,6 +291,7 @@ static int load_config(void)
 		else
 			ast_free(tableptr);
 	}
+	ast_config_destroy(cfg);
 	return res;
 }