diff options
author | Christian Grothoff <christian@grothoff.org> | 2010-08-14 21:49:04 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2010-08-14 21:49:04 +0000 |
commit | e8abceedf3a9c1e9f43d2e0aa277b5f0a1710792 (patch) | |
tree | 24ca32b9bdfb19fb5abfe142f36ce2bb54b9656b /src/fs/fs_file_information.c | |
parent | b599c64c1dc440f0e0eaa046e18f01ef2c290ea7 (diff) | |
download | gnunet-e8abceedf3a9c1e9f43d2e0aa277b5f0a1710792.tar.gz gnunet-e8abceedf3a9c1e9f43d2e0aa277b5f0a1710792.zip |
check return code
Diffstat (limited to 'src/fs/fs_file_information.c')
-rw-r--r-- | src/fs/fs_file_information.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/fs/fs_file_information.c b/src/fs/fs_file_information.c index e0403b2ed..b9b5928db 100644 --- a/src/fs/fs_file_information.c +++ b/src/fs/fs_file_information.c | |||
@@ -181,6 +181,8 @@ GNUNET_FS_file_information_create_from_file (struct GNUNET_FS_Handle *h, | |||
181 | anonymity, | 181 | anonymity, |
182 | priority, | 182 | priority, |
183 | expirationTime); | 183 | expirationTime); |
184 | if (ret == NULL) | ||
185 | return NULL; | ||
184 | ret->h = h; | 186 | ret->h = h; |
185 | ret->filename = GNUNET_strdup (filename); | 187 | ret->filename = GNUNET_strdup (filename); |
186 | fn = filename; | 188 | fn = filename; |