mirror of
https://github.com/winfsp/winfsp.git
synced 2025-06-08 04:52:10 -05:00
dll: fuse: minor fix
This commit is contained in:
parent
50830f0bf2
commit
186f7cd9ee
@ -118,6 +118,9 @@ static inline void *fsp_fuse_obj_alloc(struct fsp_fuse_env *env, size_t size)
|
|||||||
|
|
||||||
static inline void fsp_fuse_obj_free(void *obj)
|
static inline void fsp_fuse_obj_free(void *obj)
|
||||||
{
|
{
|
||||||
|
if (0 == obj)
|
||||||
|
return;
|
||||||
|
|
||||||
struct fsp_fuse_obj_hdr *hdr = (PVOID)((PUINT8)obj - sizeof(struct fsp_fuse_obj_hdr));
|
struct fsp_fuse_obj_hdr *hdr = (PVOID)((PUINT8)obj - sizeof(struct fsp_fuse_obj_hdr));
|
||||||
|
|
||||||
hdr->dtor(hdr);
|
hdr->dtor(hdr);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user