diff options
author | 2013-12-10 10:07:48 +0000 | |
---|---|---|
committer | 2013-12-10 10:07:48 +0000 | |
commit | 8be87686c59b25e02aa4f01a071cdf34b98a7ac9 (patch) | |
tree | 6e0b0ff5132aa2409f0cd202123c5e5aea9117d9 /lib/libfuse | |
parent | Make the response lookup of a question match on entire words, where (diff) | |
download | wireguard-openbsd-8be87686c59b25e02aa4f01a071cdf34b98a7ac9.tar.xz wireguard-openbsd-8be87686c59b25e02aa4f01a071cdf34b98a7ac9.zip |
Remove an attempt to free a non-heap object.
from David Hill thanks.
ok stsp@.
Diffstat (limited to 'lib/libfuse')
-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); } |