From 20ab9ef32579d4c3c8520b06ed6d42c402721ad9 Mon Sep 17 00:00:00 2001 From: Baudouin Raoult Date: Sun, 20 Aug 2017 18:25:36 +0100 Subject: [PATCH] ECC-528: Add wmo_read_any_from_stream_malloc() --- src/grib_io.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/grib_io.c b/src/grib_io.c index 584814f93..187816d94 100644 --- a/src/grib_io.c +++ b/src/grib_io.c @@ -1213,6 +1213,7 @@ int wmo_read_any_from_stream(void* stream_data,long (*stream_proc)(void*,void* b void* wmo_read_any_from_stream_malloc(void* stream_data,long (*stream_proc)(void*,void* buffer,long len) ,size_t *size, int* err) { alloc_buffer u; + u.buffer = NULL; stream_struct s; reader r;