|
|
@ -23,7 +23,7 @@
|
|
|
|
* Chained hash table implementation
|
|
|
|
* Chained hash table implementation
|
|
|
|
*
|
|
|
|
*
|
|
|
|
* The 'Free' pointer can be used to have the API free your
|
|
|
|
* The 'Free' pointer can be used to have the API free your
|
|
|
|
* hashed data. If it's NULL it's the callers responsebility
|
|
|
|
* hashed data. If it's NULL it's the callers responsibility
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
|
|
#include "suricata-common.h"
|
|
|
|
#include "suricata-common.h"
|
|
|
@ -96,7 +96,7 @@ void HashTableFree(HashTable *ht)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/* free the arrray */
|
|
|
|
/* free the array */
|
|
|
|
if (ht->array != NULL)
|
|
|
|
if (ht->array != NULL)
|
|
|
|
SCFree(ht->array);
|
|
|
|
SCFree(ht->array);
|
|
|
|
|
|
|
|
|
|
|
|