index
:
mdadm
master
Debian dgit repo for package mdadm
summary
refs
log
tree
commit
diff
log msg
author
committer
range
diff options
context:
1
2
3
4
5
6
7
8
9
10
15
20
25
30
35
40
space:
include
ignore
mode:
unified
ssdiff
stat only
Diffstat
-rw-r--r--
util.c
3
1 files changed, 2 insertions, 1 deletions
diff --git a/util.c b/util.c
index 108f3c16..1ad6fd0d 100644
--- a/
util.c
+++ b/
util.c
@@ -757,7 +757,8 @@ struct supertype *super_by_fd(int fd)
if (sra)
sysfs_free(sra);
- st->sb = NULL;
+ if (st)
+ st->sb = NULL;
return st;
}