[asterisk-commits] jpeeler: branch jpeeler/feature14882 r284988 - in /team/jpeeler/feature14882:...
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Fri Sep 3 13:53:11 CDT 2010
Author: jpeeler
Date: Fri Sep 3 13:53:07 2010
New Revision: 284988
URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=284988
Log:
forgot a destroy and stupid indentation
Modified:
team/jpeeler/feature14882/channels/chan_sip.c
team/jpeeler/feature14882/main/features.c
Modified: team/jpeeler/feature14882/channels/chan_sip.c
URL: http://svnview.digium.com/svn/asterisk/team/jpeeler/feature14882/channels/chan_sip.c?view=diff&rev=284988&r1=284987&r2=284988
==============================================================================
--- team/jpeeler/feature14882/channels/chan_sip.c (original)
+++ team/jpeeler/feature14882/channels/chan_sip.c Fri Sep 3 13:53:07 2010
@@ -26977,9 +26977,9 @@
ast_log(LOG_WARNING, "subscribe_network_change_event value %s is not valid at line %d.\n", v->value, v->lineno);
}
} else if (!strcasecmp(v->name, "snom_aoc_enabled")) {
- ast_set2_flag(&global_flags[2], ast_true(v->value), SIP_PAGE3_SNOM_AOC);
+ ast_set2_flag(&global_flags[2], ast_true(v->value), SIP_PAGE3_SNOM_AOC);
} else if (!strcasecmp(v->name, "parkinglot")) {
- ast_copy_string(default_parkinglot, v->value, sizeof(default_parkinglot));
+ ast_copy_string(default_parkinglot, v->value, sizeof(default_parkinglot));
}
}
Modified: team/jpeeler/feature14882/main/features.c
URL: http://svnview.digium.com/svn/asterisk/team/jpeeler/feature14882/main/features.c?view=diff&rev=284988&r1=284987&r2=284988
==============================================================================
--- team/jpeeler/feature14882/main/features.c (original)
+++ team/jpeeler/feature14882/main/features.c Fri Sep 3 13:53:07 2010
@@ -4440,6 +4440,7 @@
while ((curlot = ao2_iterator_next(&iter))) {
parkinglot_destroy(curlot);
}
+ ao2_iterator_destroy(&iter);
default_parkinglot = build_parkinglot(DEFAULT_PARKINGLOT, NULL);
if (default_parkinglot) {
More information about the asterisk-commits
mailing list