diff options
Diffstat (limited to 'src/fs/fs_api.c')
-rw-r--r-- | src/fs/fs_api.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/fs/fs_api.c b/src/fs/fs_api.c index 669b8cc39..42bfaed3c 100644 --- a/src/fs/fs_api.c +++ b/src/fs/fs_api.c | |||
@@ -1985,6 +1985,7 @@ deserialize_unindex_file (void *cls, const char *filename) | |||
1985 | GNUNET_break (0); | 1985 | GNUNET_break (0); |
1986 | goto cleanup; | 1986 | goto cleanup; |
1987 | } | 1987 | } |
1988 | uris = NULL; | ||
1988 | if ((GNUNET_OK != | 1989 | if ((GNUNET_OK != |
1989 | GNUNET_BIO_read_string (rh, "unindex-fn", &uc->filename, 10 * 1024)) || | 1990 | GNUNET_BIO_read_string (rh, "unindex-fn", &uc->filename, 10 * 1024)) || |
1990 | (GNUNET_OK != GNUNET_BIO_read_int64 (rh, &uc->file_size)) || | 1991 | (GNUNET_OK != GNUNET_BIO_read_int64 (rh, &uc->file_size)) || |
@@ -1994,6 +1995,7 @@ deserialize_unindex_file (void *cls, const char *filename) | |||
1994 | (GNUNET_OK != GNUNET_BIO_read_string (rh, "unindex-kskuri", &uris, 10 * 1024)) || | 1995 | (GNUNET_OK != GNUNET_BIO_read_string (rh, "unindex-kskuri", &uris, 10 * 1024)) || |
1995 | (GNUNET_OK != GNUNET_BIO_read_int32 (rh, &uc->ksk_offset)) ) | 1996 | (GNUNET_OK != GNUNET_BIO_read_int32 (rh, &uc->ksk_offset)) ) |
1996 | { | 1997 | { |
1998 | GNUNET_free_non_null (uris); | ||
1997 | GNUNET_break (0); | 1999 | GNUNET_break (0); |
1998 | goto cleanup; | 2000 | goto cleanup; |
1999 | } | 2001 | } |