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 /src/hostlist | |
parent | 6f0bb58c63388841df575d7074396d91d7f55c67 (diff) | |
download | gnunet-1a162940d44d0eae1bec6be42503d148b957229c.tar.gz gnunet-1a162940d44d0eae1bec6be42503d148b957229c.zip |
leak
Diffstat (limited to 'src/hostlist')
-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 d2fa65433..049e78c52 100644 --- a/src/hostlist/hostlist-client.c +++ b/src/hostlist/hostlist-client.c | |||
@@ -1418,7 +1418,10 @@ static void save_hostlist_file ( int shutdown ) | |||
1418 | return; | 1418 | return; |
1419 | } | 1419 | } |
1420 | if (GNUNET_SYSERR == GNUNET_DISK_directory_create_for_file (filename)) | 1420 | if (GNUNET_SYSERR == GNUNET_DISK_directory_create_for_file (filename)) |
1421 | return; | 1421 | { |
1422 | GNUNET_free (filename); | ||
1423 | return; | ||
1424 | } | ||
1422 | wh = GNUNET_BIO_write_open (filename); | 1425 | wh = GNUNET_BIO_write_open (filename); |
1423 | if ( NULL == wh) | 1426 | if ( NULL == wh) |
1424 | { | 1427 | { |