summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/lib/util_file.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/source3/lib/util_file.c b/source3/lib/util_file.c
index e21aafa009..33a687950d 100644
--- a/source3/lib/util_file.c
+++ b/source3/lib/util_file.c
@@ -385,8 +385,6 @@ char *file_load(char *fname, size_t *size)
if (sys_fstat(fd, &sbuf) != 0) return NULL;
- if (sbuf.st_size == 0) return NULL;
-
p = (char *)malloc(sbuf.st_size+1);
if (!p) return NULL;