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); }