projects
/
oweals
/
gnunet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
cleaner stats
[oweals/gnunet.git]
/
src
/
fs
/
fs_file_information.c
diff --git
a/src/fs/fs_file_information.c
b/src/fs/fs_file_information.c
index e0403b2ed39dc42679e87bab88deb44b433f1680..b9b5928dbce737cee3aabc5c4fb0a4d417660571 100644
(file)
--- 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,
anonymity,
priority,
expirationTime);
+ if (ret == NULL)
+ return NULL;
ret->h = h;
ret->filename = GNUNET_strdup (filename);
fn = filename;