Commit cd18f06e authored by antirez's avatar antirez
Browse files

Streams: change listpack allocator to zmalloc.

parent edd70c19
...@@ -38,7 +38,8 @@ ...@@ -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
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment