summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Schanzenbach <mschanzenbach@posteo.de>2021-05-15 20:12:10 +0200
committerMartin Schanzenbach <mschanzenbach@posteo.de>2021-05-15 20:12:10 +0200
commit05dc002ec4f5396b5633fcf686cd4cd2d06ae776 (patch)
treeab1207c50686f6484fcca54fcee5d4b9be2ce302
parent9af213e65c0c4d8daac0e6509c931c6f880ca03c (diff)
-coverity: fix memleak
-rw-r--r--src/reclaim/pabc_helper.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/reclaim/pabc_helper.c b/src/reclaim/pabc_helper.c
index 1b1dbea0f..e58b8a4f7 100644
--- a/src/reclaim/pabc_helper.c
+++ b/src/reclaim/pabc_helper.c
@@ -96,6 +96,7 @@ read_file (char const *const filename, char **buffer)
fail:
GNUNET_DISK_file_close (fh);
+ GNUNET_free (*buffer);
return GNUNET_SYSERR;
}