diff options
author | Sylvestre Gallon <syl@cvs.openbsd.org> | 2013-12-10 10:07:49 +0000 |
---|---|---|
committer | Sylvestre Gallon <syl@cvs.openbsd.org> | 2013-12-10 10:07:49 +0000 |
commit | 6a54213e7ba85af13b6334f8d037c6433bee8d4e (patch) | |
tree | 63f8bb2bf68ae77a2c93359b1f95198b3120e04b /lib | |
parent | 7f50332e2d27e5a7ff214d35a37c211436379d68 (diff) |
Remove an attempt to free a non-heap object.
from David Hill thanks.
ok stsp@.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/libfuse/fuse.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/libfuse/fuse.c b/lib/libfuse/fuse.c index cec4c25e571..6a551f29837 100644 --- a/lib/libfuse/fuse.c +++ b/lib/libfuse/fuse.c @@ -1,4 +1,4 @@ -/* $OpenBSD: fuse.c,v 1.17 2013/11/11 14:23:01 stsp Exp $ */ +/* $OpenBSD: fuse.c,v 1.18 2013/12/10 10:07:48 syl Exp $ */ /* * Copyright (c) 2013 Sylvestre Gallon <ccna.syl@gmail.com> * @@ -458,8 +458,8 @@ fuse_setup(int argc, char **argv, const struct fuse_operations *ops, return (fuse); err: - if (mp) - free(mp); + if (*mp) + free(*mp); return (NULL); } |