summaryrefslogtreecommitdiffstats
path: root/subsurface-core/uemis-downloader.c
diff options
context:
space:
mode:
Diffstat (limited to 'subsurface-core/uemis-downloader.c')
-rw-r--r--subsurface-core/uemis-downloader.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/subsurface-core/uemis-downloader.c b/subsurface-core/uemis-downloader.c
index 0f589667b..97ef551aa 100644
--- a/subsurface-core/uemis-downloader.c
+++ b/subsurface-core/uemis-downloader.c
@@ -516,6 +516,7 @@ static bool uemis_get_answer(const char *path, char *request, int n_param_in,
}
trigger_response(reqtxt_file, "n", filenr, file_length);
usleep(timeout);
+ free(mbuf);
mbuf = NULL;
mbuf_size = 0;
while (searching || assembling_mbuf) {