--- wmgeneral/misc.c.orig Tue May 19 23:13:23 1998 +++ wmgeneral/misc.c Tue Oct 10 21:59:35 2000 @@ -64,6 +64,8 @@ next_token(char *word, char **next) t = ret = malloc(strlen(word)+1); ptr = word; + + if (ret==NULL) return NULL; state = 0; *t = 0;