summaryrefslogtreecommitdiffstats
path: root/xrdp/xrdp.c
diff options
context:
space:
mode:
authorJay Sorg <jay.sorg@gmail.com>2012-02-05 23:26:15 -0800
committerJay Sorg <jay.sorg@gmail.com>2012-02-05 23:26:15 -0800
commitf10e5bbfd57d491bf3a5f6521cb8c1c55b713772 (patch)
treeb84455037ac3ae608e1ee65df4963d26241e1a59 /xrdp/xrdp.c
parentb36f7d346ccb504547e675b6a0bf31bce75cc175 (diff)
downloadxrdp-proprietary-f10e5bbfd57d491bf3a5f6521cb8c1c55b713772.tar.gz
xrdp-proprietary-f10e5bbfd57d491bf3a5f6521cb8c1c55b713772.zip
fix for https://bugzilla.redhat.com/show_bug.cgi?id=782619
Diffstat (limited to 'xrdp/xrdp.c')
-rw-r--r--xrdp/xrdp.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/xrdp/xrdp.c b/xrdp/xrdp.c
index 951a2f12..bbe6c6a8 100644
--- a/xrdp/xrdp.c
+++ b/xrdp/xrdp.c
@@ -235,7 +235,7 @@ main(int argc, char** argv)
char text[256];
char pid_file[256];
- g_init();
+ g_init("xrdp");
ssl_init();
/* check compiled endian with actual endian */
test = 1;
@@ -432,5 +432,6 @@ main(int argc, char** argv)
/* delete the xrdp.pid file */
g_file_delete(pid_file);
g_free(startup_params);
+ g_deinit();
return 0;
}