summaryrefslogtreecommitdiffstats
path: root/sesman/sig.c
diff options
context:
space:
mode:
authorjsorg71 <jay.sorg@gmail.com>2016-08-05 14:38:41 -0700
committerGitHub <noreply@github.com>2016-08-05 14:38:41 -0700
commit8353baab3d361bcdebb32f1677dd066e0b255dc9 (patch)
tree38bd74dc119bdc115d5876383d7a65ff3e19debd /sesman/sig.c
parent81fe939dd346420d41eb2afcd6c8c05a422a9e7b (diff)
parentace7d2c822937a9cb0637946f85d1fbd63562c44 (diff)
downloadxrdp-proprietary-8353baab3d361bcdebb32f1677dd066e0b255dc9.tar.gz
xrdp-proprietary-8353baab3d361bcdebb32f1677dd066e0b255dc9.zip
Merge pull request #390 from proski/june21
Cleanups and C++ compatibility
Diffstat (limited to 'sesman/sig.c')
-rw-r--r--sesman/sig.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sesman/sig.c b/sesman/sig.c
index b10be5fb..3cc3395a 100644
--- a/sesman/sig.c
+++ b/sesman/sig.c
@@ -75,7 +75,7 @@ sig_sesman_reload_cfg(int sig)
return;
}
- cfg = g_malloc(sizeof(struct config_sesman), 1);
+ cfg = g_new0(struct config_sesman, 1);
if (0 == cfg)
{