[eggheads-patches] PATCH: globchansetfix.patch

Dobos Lorant drummer at sophia.jpte.hu
Fri Oct 15 16:20:31 CST 1999


diff -ur eggdrop1.3.1011/src/mod/channels.mod/channels.c eggdrop1.3/src/mod/channels.mod/channels.c
--- eggdrop1.3.1011/src/mod/channels.mod/channels.c	Sun Oct 10 18:44:26 1999
+++ eggdrop1.3/src/mod/channels.mod/channels.c	Wed Oct 13 19:22:26 1999
@@ -692,6 +692,8 @@
 	s = t + 1;
       }
     }
+    if (item) /* hmm it cant be 0 */
+      Tcl_Free((char*) item);
     Tcl_SetVar2(interp, name1, name2, glob_chanset, TCL_GLOBAL_ONLY);
   }
   return NULL;


More information about the Patches mailing list