Return to cmd-load-buffer.c CVS log | Up to [local] / src / usr.bin / tmux |
version 1.1, 2009/06/01 22:58:49 | version 1.2, 2009/07/09 09:54:56 | ||
---|---|---|---|
|
|
||
*/ | */ | ||
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); | ||
} | } | ||