aboutsummaryrefslogtreecommitdiff
path: root/src/namestore/gnunet-namestore-fcfsd.c
diff options
context:
space:
mode:
authorMartin Schanzenbach <mschanzenbach@posteo.de>2021-08-08 16:44:48 +0200
committerMartin Schanzenbach <mschanzenbach@posteo.de>2021-08-08 16:44:48 +0200
commit615487401fd79c62ea42ad15ad3740995030ec5c (patch)
treef39e0150d06a32f8ce256bac53d021b9f25afebe /src/namestore/gnunet-namestore-fcfsd.c
parent9b0697c03ccba29f5130509b2affe7ee5bbea2b3 (diff)
downloadgnunet-615487401fd79c62ea42ad15ad3740995030ec5c.tar.gz
gnunet-615487401fd79c62ea42ad15ad3740995030ec5c.zip
-fix nptr issues
Diffstat (limited to 'src/namestore/gnunet-namestore-fcfsd.c')
-rw-r--r--src/namestore/gnunet-namestore-fcfsd.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/namestore/gnunet-namestore-fcfsd.c b/src/namestore/gnunet-namestore-fcfsd.c
index 847f7cb64..95d4c5878 100644
--- a/src/namestore/gnunet-namestore-fcfsd.c
+++ b/src/namestore/gnunet-namestore-fcfsd.c
@@ -185,15 +185,15 @@ do_shutdown (void *cls)
185 } 185 }
186 if (NULL != notfound_page) 186 if (NULL != notfound_page)
187 { 187 {
188 MHD_destroy_response (main_page->response); 188 MHD_destroy_response (notfound_page->response);
189 GNUNET_free (main_page->handle); 189 GNUNET_free (notfound_page->handle);
190 GNUNET_free (main_page); 190 GNUNET_free (notfound_page);
191 } 191 }
192 if (NULL != forbidden_page) 192 if (NULL != forbidden_page)
193 { 193 {
194 MHD_destroy_response (main_page->response); 194 MHD_destroy_response (forbidden_page->response);
195 GNUNET_free (main_page->handle); 195 GNUNET_free (forbidden_page->handle);
196 GNUNET_free (main_page); 196 GNUNET_free (forbidden_page);
197 } 197 }
198 198
199 if (NULL != namestore) 199 if (NULL != namestore)