summaryrefslogtreecommitdiffstats
path: root/sesman/sig.c
diff options
context:
space:
mode:
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)
{