aboutsummaryrefslogtreecommitdiff
path: root/src/gns/gnunet-bcd.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2013-12-05 20:51:32 +0000
committerChristian Grothoff <christian@grothoff.org>2013-12-05 20:51:32 +0000
commit709c048dc1e24f0b1cde544c41d60f898a698304 (patch)
treeda2f6a1d868c045a489709cc13630c2127912955 /src/gns/gnunet-bcd.c
parent3d6fe3cc4bb54d37737b3be87b73252fd78f6276 (diff)
downloadgnunet-709c048dc1e24f0b1cde544c41d60f898a698304.tar.gz
gnunet-709c048dc1e24f0b1cde544c41d60f898a698304.zip
-fix leaks
Diffstat (limited to 'src/gns/gnunet-bcd.c')
-rw-r--r--src/gns/gnunet-bcd.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/gns/gnunet-bcd.c b/src/gns/gnunet-bcd.c
index 5c57cbafd..0b8e53326 100644
--- a/src/gns/gnunet-bcd.c
+++ b/src/gns/gnunet-bcd.c
@@ -249,6 +249,10 @@ access_handler_callback (void *cls, struct MHD_Connection *connection,
249 { 249 {
250 GNUNET_break (0); 250 GNUNET_break (0);
251 GNUNET_break (0 == CLOSE (fd)); 251 GNUNET_break (0 == CLOSE (fd));
252 GNUNET_free (deffile);
253 GNUNET_free (p);
254 GNUNET_DISK_directory_remove (tmp);
255 GNUNET_free (tmp);
252 return MHD_NO; 256 return MHD_NO;
253 } 257 }
254 (void) MHD_add_response_header (response, 258 (void) MHD_add_response_header (response,
@@ -258,6 +262,7 @@ access_handler_callback (void *cls, struct MHD_Connection *connection,
258 MHD_HTTP_OK, 262 MHD_HTTP_OK,
259 response); 263 response);
260 MHD_destroy_response (response); 264 MHD_destroy_response (response);
265 GNUNET_free (deffile);
261 GNUNET_free (p); 266 GNUNET_free (p);
262 GNUNET_DISK_directory_remove (tmp); 267 GNUNET_DISK_directory_remove (tmp);
263 GNUNET_free (tmp); 268 GNUNET_free (tmp);