[BACK]Return to cmd-load-buffer.c CVS log [TXT][DIR] Up to [local] / src / usr.bin / tmux

Diff for /src/usr.bin/tmux/cmd-load-buffer.c between version 1.1 and 1.2

version 1.1, 2009/06/01 22:58:49 version 1.2, 2009/07/09 09:54:56
Line 78 
Line 78 
          */           */
         if ((buf = malloc(statbuf.st_size + 1)) == NULL) {          if ((buf = malloc(statbuf.st_size + 1)) == NULL) {
                 ctx->error(ctx, "malloc error: %s", strerror(errno));                  ctx->error(ctx, "malloc error: %s", strerror(errno));
                   fclose(f);
                 return (-1);                  return (-1);
         }          }
   

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2