[Freeswitch-svn] [commit] r11624 - freeswitch/trunk/src/mod/applications/mod_limit
FreeSWITCH SVN
mikej at freeswitch.org
Tue Feb 3 15:16:10 PST 2009
Author: mikej
Date: Tue Feb 3 17:16:10 2009
New Revision: 11624
Log:
fix windows build
Modified:
freeswitch/trunk/src/mod/applications/mod_limit/mod_limit.c
Modified: freeswitch/trunk/src/mod/applications/mod_limit/mod_limit.c
==============================================================================
--- freeswitch/trunk/src/mod/applications/mod_limit/mod_limit.c (original)
+++ freeswitch/trunk/src/mod/applications/mod_limit/mod_limit.c Tue Feb 3 17:16:10 2009
@@ -874,6 +874,7 @@
if (!(item = (limit_hash_item_t*)switch_core_hash_find(globals.limit_hash, hashkey))) {
/* No, create an empty structure and add it, then continue like as if it existed */
item = (limit_hash_item_t*)malloc(sizeof(limit_hash_item_t));
+ switch_assert(item);
memset(item, 0, sizeof(limit_hash_item_t));
switch_core_hash_insert(globals.limit_hash, hashkey, item);
}
More information about the Freeswitch-svn
mailing list