diff options
author | mmcc <mmcc@cvs.openbsd.org> | 2015-12-24 17:02:38 +0000 |
---|---|---|
committer | mmcc <mmcc@cvs.openbsd.org> | 2015-12-24 17:02:38 +0000 |
commit | bf088a4fdffe17767869bd751dff846f9a944291 (patch) | |
tree | fe9b482ad5267aa1f442a64aba7d29c6c1488aaf /lib/libfuse | |
parent | 0e166605c67ffad93206aca530529c1a9ace62ac (diff) |
remove NULL-check before free()
Diffstat (limited to 'lib/libfuse')
-rw-r--r-- | lib/libfuse/fuse.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/libfuse/fuse.c b/lib/libfuse/fuse.c index 20a1cdd029e..0f58b3049e0 100644 --- a/lib/libfuse/fuse.c +++ b/lib/libfuse/fuse.c @@ -1,4 +1,4 @@ -/* $OpenBSD: fuse.c,v 1.26 2015/07/07 13:56:45 ajacoutot Exp $ */ +/* $OpenBSD: fuse.c,v 1.27 2015/12/24 17:02:37 mmcc Exp $ */ /* * Copyright (c) 2013 Sylvestre Gallon <ccna.syl@gmail.com> * @@ -478,8 +478,7 @@ fuse_setup(int argc, char **argv, const struct fuse_operations *ops, return (fuse); err: - if (*mp) - free(*mp); + free(*mp); return (NULL); } |