Fix memory leak in publishing UBlocks
authorDavid Barksdale <amatus@amat.us>
Sun, 12 Nov 2017 21:52:39 +0000 (15:52 -0600)
committerDavid Barksdale <amatus@amat.us>
Sun, 12 Nov 2017 21:52:39 +0000 (15:52 -0600)
src/fs/fs_publish_ublock.c

index e21443ccbf994eb4d79899be0f0e7b5fb4f3df63..189a6909a27c094a36ba1cc98c2bfa1dbb0759cd 100644 (file)
@@ -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;
 }