From: Christian Grothoff Date: Thu, 7 Apr 2016 22:28:46 +0000 (+0000) Subject: fix NPE X-Git-Tag: initial-import-from-subversion-38251~970 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=0f30dd9ebe3b0b78ab37b72cd73d333575ca551a;p=oweals%2Fgnunet.git fix NPE --- diff --git a/src/fs/gnunet-auto-share.c b/src/fs/gnunet-auto-share.c index 6f27bdbb0..3e5c8777c 100644 --- a/src/fs/gnunet-auto-share.c +++ b/src/fs/gnunet-auto-share.c @@ -833,7 +833,7 @@ main (int argc, char *const *argv) shc_chld = NULL; GNUNET_DISK_pipe_close (sigpipe); sigpipe = NULL; - GNUNET_free (cfg_filename); + GNUNET_free_non_null (cfg_filename); cfg_filename = NULL; GNUNET_free ((void*) argv); return ok;