summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--src/dalist_memfn.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/dalist_memfn.c b/src/dalist_memfn.c
index 0b3199d..1176875 100644
--- a/src/dalist_memfn.c
+++ b/src/dalist_memfn.c
@@ -165,6 +165,7 @@ static void * __cdecl dalist_alloc(struct dalist_ex * dlist)
pmemfn = dalist_memfn_internal;
/* allocate: try */
+ addr = 0;
fnode = 0;
ret = pmemfn(dlist,&addr,&alloc_size);