summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKoichiro IWAO <meta@vmeta.jp>2018-01-09 14:42:37 +0900
committerKoichiro IWAO <meta@vmeta.jp>2018-01-12 09:24:03 +0900
commit5daa09171e1e6e65a1a3ab969775fdf8affffc37 (patch)
treec608a0231d9625a139bcb4c1e4bbdc0a43cb88d6
parent08f847d74b8e5b37650746f48c1333453cb04b15 (diff)
downloadxrdp-proprietary-5daa09171e1e6e65a1a3ab969775fdf8affffc37.tar.gz
xrdp-proprietary-5daa09171e1e6e65a1a3ab969775fdf8affffc37.zip
devredir: fix xinode leak
Pointed out by: #919
-rw-r--r--sesman/chansrv/devredir.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sesman/chansrv/devredir.c b/sesman/chansrv/devredir.c
index 629b3cc9..4c6f67e3 100644
--- a/sesman/chansrv/devredir.c
+++ b/sesman/chansrv/devredir.c
@@ -986,6 +986,8 @@ dev_redir_proc_query_dir_response(IRP *irp,
/* add this entry to xrdp file system */
fuse_data = devredir_fuse_data_peek(irp);
xfuse_devredir_cb_enum_dir(fuse_data->data_ptr, xinode);
+
+ g_free(xinode);
}
dev_redir_send_drive_dir_request(irp, DeviceId, 0, NULL);