devredir: fix xinode leak

Pointed out by: #919
master
Koichiro IWAO 7 years ago
parent 08f847d74b
commit 5daa09171e
No known key found for this signature in database
GPG Key ID: 9F72CDBC01BF10EB

@ -986,6 +986,8 @@ dev_redir_proc_query_dir_response(IRP *irp,
/* add this entry to xrdp file system */ /* add this entry to xrdp file system */
fuse_data = devredir_fuse_data_peek(irp); fuse_data = devredir_fuse_data_peek(irp);
xfuse_devredir_cb_enum_dir(fuse_data->data_ptr, xinode); xfuse_devredir_cb_enum_dir(fuse_data->data_ptr, xinode);
g_free(xinode);
} }
dev_redir_send_drive_dir_request(irp, DeviceId, 0, NULL); dev_redir_send_drive_dir_request(irp, DeviceId, 0, NULL);

Loading…
Cancel
Save