zero 'me' after allocating it

git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@241 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
This commit is contained in:
Joshua Kwan 2004-02-17 01:00:22 +00:00
parent f7f3ebcae7
commit 686c76bbea
1 changed files with 1 additions and 1 deletions

View File

@ -947,7 +947,7 @@ newuser ()
if (me)
free (me);
me = malloc (sizeof (struct dg_user));
me = calloc (1, sizeof (struct dg_user));
while (error)
{