/*------------------------------------Unit_Tests------------------------------*/
#ifdef UNITTESTS
+static void SCRadix4UtFree(void *ptr)
+{
+ SCFree(ptr);
+}
-static const SCRadix4Config ut_ip_radix4_config = { NULL, NULL };
+static const SCRadix4Config ut_ip_radix4_config = { SCRadix4UtFree, NULL };
#define GET_IPV4(str) \
SCLogDebug("setting up %s", (str)); \
/*------------------------------------Unit_Tests------------------------------*/
#ifdef UNITTESTS
+static void SCRadix6UtFree(void *ptr)
+{
+ SCFree(ptr);
+}
-static const SCRadix6Config ut_ip_radix6_config = { NULL, NULL };
+static const SCRadix6Config ut_ip_radix6_config = { SCRadix6UtFree, NULL };
#define GET_IPV6(str) \
SCLogDebug("setting up %s", (str)); \