xrdp/sesman
Pavel Roskin dc60a80b86 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.
2016-10-21 20:15:50 +00:00
..
chansrv Get rid of EXTRA_LIBS, use variables with more specific names 2016-10-20 10:43:02 -07:00
libscp Fix memory leak: free session data 2016-10-21 20:15:50 +00:00
sessvc Fix incorrect use of "it's" and "its", adjust wording 2016-06-21 16:30:15 -07:00
tools Don't use final newline in log calls, it's already appended 2016-10-17 08:54:07 -07:00
access.c Use const pointers in function arguments when possible 2016-10-17 08:54:07 -07:00
access.h Use const pointers in function arguments when possible 2016-10-17 08:54:07 -07:00
auth.h Use const pointers in function arguments when possible 2016-10-17 08:54:07 -07:00
config.c Fix wrong comments in sesman config printing code 2016-10-17 08:54:07 -07:00
config.h Rename SESMAN_CFG_X11DISPLAYOFFSET to SESMAN_CFG_SESS_X11DISPLAYOFFSET 2016-06-21 16:30:15 -07:00
Doxyfile preparing sources to add new sesman control protocol 2006-05-26 13:10:14 +00:00
env.c Use const pointers in function arguments when possible 2016-10-17 08:54:07 -07:00
env.h Use const pointers in function arguments when possible 2016-10-17 08:54:07 -07:00
Makefile.am Use SCRIPTS for executable scripts, don't use "chmod 755" 2016-02-22 23:13:16 -08:00
scp_v0.c Call auth_end() exactly once in scp_v0_process() 2016-10-21 20:15:50 +00:00
scp_v0.h copyright year update 2013-06-08 10:51:53 -07:00
scp_v1_mng.c Fix memory leak: free session data 2016-10-21 20:15:50 +00:00
scp_v1_mng.h copyright year update 2013-06-08 10:51:53 -07:00
scp_v1.c Fix memory leak: free session data 2016-10-21 20:15:50 +00:00
scp_v1.h copyright year update 2013-06-08 10:51:53 -07:00
scp.c Fix memory leak: free session data 2016-10-21 20:15:50 +00:00
scp.h copyright year update 2013-06-08 10:51:53 -07:00
sesman.c Use g_new or g_new0 when C++ compiler would complain about implicit cast 2016-07-08 04:29:49 +00:00
sesman.h sesman: remove the thread 2015-12-11 20:41:17 -08:00
sesman.ini sesman: do not hardcode Xorg/X11rdp/Xvnc executables 2016-04-07 18:34:43 +09:00
session.c Memory leak fix: keep X server path in the parameter list 2016-10-21 20:15:50 +00:00
session.h Use const pointers in function arguments when possible 2016-10-17 08:54:07 -07:00
sig.c sesman: don't close listening socket in signal handler 2016-09-08 20:26:19 -07:00
sig.h copyright year update 2013-06-08 10:51:53 -07:00
startwm.sh startwm.sh: make sure sourced scripts are readable 2016-02-12 23:52:45 -08:00
verify_user_bsd.c Use const pointers in function arguments when possible 2016-10-17 08:54:07 -07:00
verify_user_kerberos.c Use const pointers in function arguments when possible 2016-10-17 08:54:07 -07:00
verify_user_pam_userpass.c Use const pointers in function arguments when possible 2016-10-17 08:54:07 -07:00
verify_user_pam.c Use const pointers in function arguments when possible 2016-10-17 08:54:07 -07:00
verify_user.c Use const pointers in function arguments when possible 2016-10-17 08:54:07 -07:00