mirror of
https://github.com/falk-werner/webfuse-provider
synced 2024-10-27 20:44:10 +00:00
fix: crash if libfuse is not available at runtime
This commit is contained in:
parent
82dedba6a1
commit
38ef0ddd9a
@ -5,6 +5,7 @@
|
||||
### Fixes
|
||||
|
||||
* Fix meson build failure when gtest or jansson are not installed
|
||||
* Fix crash if libfuse is not available at runtime
|
||||
|
||||
## 0.3.0 _(Fri Jun 05 2020)_
|
||||
|
||||
|
@ -109,8 +109,11 @@ bool wf_impl_session_add_filesystem(
|
||||
if (result)
|
||||
{
|
||||
struct wf_impl_filesystem * filesystem = wf_impl_filesystem_create(session, name, mountpoint);
|
||||
wf_slist_append(&session->filesystems, &filesystem->item);
|
||||
result = (NULL != filesystem);
|
||||
if (result)
|
||||
{
|
||||
wf_slist_append(&session->filesystems, &filesystem->item);
|
||||
}
|
||||
}
|
||||
|
||||
// cleanup on error
|
||||
|
Loading…
Reference in New Issue
Block a user