diff options
author | Christian Grothoff <christian@grothoff.org> | 2011-07-16 20:08:48 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2011-07-16 20:08:48 +0000 |
commit | 1a162940d44d0eae1bec6be42503d148b957229c (patch) | |
tree | 60b00ca3e77d0a031dfe9ebc17bbc6189c5df818 | |
parent | 6f0bb58c63388841df575d7074396d91d7f55c67 (diff) |
leak
-rw-r--r-- | src/hostlist/hostlist-client.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/hostlist/hostlist-client.c b/src/hostlist/hostlist-client.c index d2fa654339..049e78c52f 100644 --- a/src/hostlist/hostlist-client.c +++ b/src/hostlist/hostlist-client.c @@ -1418,7 +1418,10 @@ static void save_hostlist_file ( int shutdown ) return; } if (GNUNET_SYSERR == GNUNET_DISK_directory_create_for_file (filename)) - return; + { + GNUNET_free (filename); + return; + } wh = GNUNET_BIO_write_open (filename); if ( NULL == wh) { |