[BACK]Return to echo.c CVS log [TXT][DIR] Up to [local] / src / usr.bin / mg

Diff for /src/usr.bin/mg/echo.c between version 1.44 and 1.45

version 1.44, 2006/03/28 20:16:24 version 1.45, 2006/03/30 18:32:07
Line 937 
Line 937 
   
         last = NULL;          last = NULL;
         while (lp) {          while (lp) {
                 current = (struct list *)malloc(sizeof(struct list));                  current = malloc(sizeof(struct list));
                 if (current == NULL) {                  if (current == NULL) {
                         /* Free what we have allocated so far */                          /* Free what we have allocated so far */
                         for (current = last; current; current = nxt) {                          for (current = last; current; current = nxt) {

Legend:
Removed from v.1.44  
changed lines
  Added in v.1.45