mirror of
https://github.com/fluencelabs/redis
synced 2025-03-30 22:31:03 +00:00
Streams: change listpack allocator to zmalloc.
This commit is contained in:
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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user