From 9e13a384c005d26411b53d4c4f643700957c8345 Mon Sep 17 00:00:00 2001 From: Sascha Hauer Date: Thu, 27 Sep 2007 16:28:26 +0200 Subject: use xrealloc instead of realloc --- commands/edit.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'commands/edit.c') diff --git a/commands/edit.c b/commands/edit.c index 6f42abc107..4578c7ad88 100644 --- a/commands/edit.c +++ b/commands/edit.c @@ -176,7 +176,7 @@ static struct line *line_realloc(int len, struct line *line) while (size < len) size <<= 1; - line->data = realloc(line->data, size); + line->data = xrealloc(line->data, size); return line; } -- cgit v1.2.3