diff options
author | okan | 2008-04-15 18:22:08 +0000 |
---|---|---|
committer | okan | 2008-04-15 18:22:08 +0000 |
commit | 610683e4362bfb1cd12731e70b8628dec527ccfe (patch) | |
tree | 17889d13481716d024dcc413991af02706721a38 /calmwm.c | |
parent | 00b5e927adcf960e2d9e810f65c0a460e40d467c (diff) | |
download | cwm-610683e4362bfb1cd12731e70b8628dec527ccfe.tar.gz |
malloc -> calloc
suggested by and ok oga@
Diffstat (limited to 'calmwm.c')
-rw-r--r-- | calmwm.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -15,7 +15,7 @@ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * - * $Id: calmwm.c,v 1.14 2008/04/03 13:58:57 simon Exp $ + * $Id: calmwm.c,v 1.15 2008/04/15 18:22:08 okan Exp $ */ #include "headers.h" @@ -81,6 +81,7 @@ main(int argc, char **argv) group_init(); Starting = 1; + bzero(&Conf, sizeof(Conf)); conf_setup(&Conf, conffile); client_setup(); x_setup(display_name); |