From: David Barksdale Date: Sun, 12 Nov 2017 21:52:39 +0000 (-0600) Subject: Fix memory leak in publishing UBlocks X-Git-Tag: gnunet-0.11.0rc0~99^2~2 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=d7b33a905546adb869f022cbe86beb0b0582fd4b;p=oweals%2Fgnunet.git Fix memory leak in publishing UBlocks --- diff --git a/src/fs/fs_publish_ublock.c b/src/fs/fs_publish_ublock.c index e21443ccb..189a6909a 100644 --- a/src/fs/fs_publish_ublock.c +++ b/src/fs/fs_publish_ublock.c @@ -301,6 +301,7 @@ GNUNET_FS_publish_ublock_ (struct GNUNET_FS_Handle *h, uc->task = GNUNET_SCHEDULER_add_now (&run_cont, uc); } + GNUNET_free (ub_enc); return uc; }