]> git.ipfire.org Git - thirdparty/rspamd.git/commitdiff
[Minor] Hold on with g_slice alteration
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Mon, 11 Apr 2016 16:16:22 +0000 (17:16 +0100)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Mon, 11 Apr 2016 16:16:22 +0000 (17:16 +0100)
config.h.in

index 2b553efe3c757b2c41b160d4caaa16f90381e55c..d06c133f9de0ebabdec0f69ebfd636cd173ab427 100644 (file)
@@ -338,9 +338,11 @@ extern uint64_t ottery_rand_uint64(void);
 /* Disable slab allocator if jemalloc is already in the system */
 #if defined(WITH_JEMALLOC) || defined(__FreeBSD__) || \
        (defined(__NetBSD__) && __NetBSD_Version__ >= 500000000)
+#if 0
        #define g_slice_alloc(sz) g_malloc(sz)
        #define g_slice_alloc0(sz) g_malloc0(sz)
        #define g_slice_free1(sz, p) g_free(p)
 #endif
+#endif
 
 #endif