[cvslog] Module eggdrop1.7: Change committed

cvslog cvs at tsss.org
Mon Oct 15 13:48:01 CST 2001


CVSROOT    : /usr/local/cvsroot
Module     : eggdrop1.7
Commit time: 2001-10-15 18:47:22 UTC
Commited by: Matthew Hallacy <poptix at techmonkeys.org>

Modified files:
     src/userrec.c

Log message:

* Oops, forgot to fix it here too, weren't supposed to free xk,xk->data in adduser

---------------------- diff included ----------------------
Index: eggdrop1.7/src/userrec.c
diff -u eggdrop1.7/src/userrec.c:1.36 eggdrop1.7/src/userrec.c:1.37
--- eggdrop1.7/src/userrec.c:1.36	Sun Oct 14 11:20:39 2001
+++ eggdrop1.7/src/userrec.c	Mon Oct 15 13:47:11 2001
@@ -4,7 +4,7 @@
  *   a bunch of functions to find and change user records
  *   change and check user (and channel-specific) flags
  *
- * $Id: userrec.c,v 1.36 2001/10/14 16:20:39 poptix Exp $
+ * $Id: userrec.c,v 1.37 2001/10/15 18:47:11 poptix Exp $
  */
 /*
  * Copyright (C) 1997 Robey Pointer
@@ -511,8 +511,8 @@
     xk->data = malloc(15);		/* should be enough, this should be changed  */
     sprintf(xk->data, "%lu", now);	/* when time_t is a 64 bit integer.. -poptix */ 
     set_user(&USERENTRY_XTRA, u, xk);
-    free(xk->data);
-    free(xk);
+/*    free(xk->data); We can't free this here, someone figure out why !FIXME!
+    free(xk); */ 
   }
   /* Strip out commas -- they're illegal */
   if (host && host[0]) {
----------------------- End of diff -----------------------



More information about the Changes mailing list