summaryrefslogtreecommitdiffstats
path: root/sesman/scp_v1_mng.c
diff options
context:
space:
mode:
authorPavel Roskin <plroskin@gmail.com>2016-10-16 23:41:05 -0700
committerPavel Roskin <plroskin@gmail.com>2016-10-21 20:15:50 +0000
commitdc60a80b862a2e88b1179e8478b6d1ffb7c8249f (patch)
tree20fd52f3bbb19a6c03dd100c0c0bfc39da79a9fb /sesman/scp_v1_mng.c
parente17a56efb6750e7db8d060bd1a648a946395ef80 (diff)
downloadxrdp-proprietary-dc60a80b862a2e88b1179e8478b6d1ffb7c8249f.tar.gz
xrdp-proprietary-dc60a80b862a2e88b1179e8478b6d1ffb7c8249f.zip
Memory leak fix: keep X server path in the parameter list
g_cfg->xorg_params, g_cfg->vnc_params and g_cfg->rdp_params don't have auto_free enabled, so removing an item from one of those lists won't free its contents. It's better not to change those lists, as they represent the actual config file and could be reused. Instead, omit the 0th parameter (the executable path) from copying to xserver_params. Found by Valgrind.
Diffstat (limited to 'sesman/scp_v1_mng.c')
0 files changed, 0 insertions, 0 deletions