diff options
Diffstat (limited to 'sesman/sessvc')
-rw-r--r-- | sesman/sessvc/sessvc.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sesman/sessvc/sessvc.c b/sesman/sessvc/sessvc.c index e814042a..fe268abc 100644 --- a/sesman/sessvc/sessvc.c +++ b/sesman/sessvc/sessvc.c @@ -80,6 +80,7 @@ main(int argc, char** argv) int lerror = 0; char exe_path[262]; + g_init("xrdp-sessvc"); g_memset(exe_path,0,sizeof(exe_path)); if (argc < 3) @@ -145,5 +146,6 @@ main(int argc, char** argv) g_sleep(1); } g_writeln("xrdp-sessvc: clean exit"); + g_deinit(); return 0; } |