From e47d7f719213e41ff5864e73fa60edc9b7c4d066 Mon Sep 17 00:00:00 2001 From: midipix Date: Mon, 8 Jun 2020 22:17:18 +0000 Subject: dalist_alloc(): explicitly reset the address variable (oversight). --- src/dalist_memfn.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src') 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); -- cgit v1.2.3