diff options
author | Roman Bogorodskiy <bogorodskiy@gmail.com> | 2018-11-11 14:46:14 +0400 |
---|---|---|
committer | Nikolaus Rath <Nikolaus@rath.org> | 2018-11-11 19:40:25 +0000 |
commit | 11d9ed614f9000cff349f077983e83b7901e7ed2 (patch) | |
tree | 98c535713cd93e234593b50b8c9bb915e4e147a6 /include/fuse.h | |
parent | 70e25ea74e011d73887f4f66842b204fb4504c97 (diff) | |
download | libfuse-11d9ed614f9000cff349f077983e83b7901e7ed2.tar.gz |
Fix mounting on FreeBSD
Currently, mounting on FreeBSD fails like this:
mount_fusefs: ZZZZ<snip> on /mountpoint: No such file or directory
This happens because right after doing argv[a++] = fdnam it's
getting freed before calling execvp().
So move this free() call after execvp(). Also, when asprintf()
fails for fdnam, close device fd before calling exit().
Diffstat (limited to 'include/fuse.h')
0 files changed, 0 insertions, 0 deletions