1
0
mirror of https://github.com/fluencelabs/redis synced 2025-03-31 14:51:04 +00:00

Streams: change listpack allocator to zmalloc.

This commit is contained in:
antirez 2017-09-06 12:00:03 +02:00
parent edd70c1993
commit cd18f06e9c

@ -38,7 +38,8 @@
#ifndef LISTPACK_ALLOC_H #ifndef LISTPACK_ALLOC_H
#define LISTPACK_ALLOC_H #define LISTPACK_ALLOC_H
#define lp_malloc malloc #include "zmalloc.h"
#define lp_realloc realloc #define lp_malloc zmalloc
#define lp_free free #define lp_realloc zrealloc
#define lp_free zfree
#endif #endif