From 8bea7ed1e00df357525f7bfc6592edc8aa1c8ea4 Mon Sep 17 00:00:00 2001 From: Pierre Muller Date: Tue, 22 May 2012 15:55:30 +0000 Subject: * common/buffer.c (buffer_grow): ARI fix: Remove unneeded call to abort. --- gdb/common/buffer.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'gdb/common') diff --git a/gdb/common/buffer.c b/gdb/common/buffer.c index 059dd68..810173b 100644 --- a/gdb/common/buffer.c +++ b/gdb/common/buffer.c @@ -47,8 +47,6 @@ buffer_grow (struct buffer *buffer, const char *data, size_t size) while (buffer->used_size + size > new_buffer_size) new_buffer_size *= 2; new_buffer = xrealloc (buffer->buffer, new_buffer_size); - if (!new_buffer) - abort (); memcpy (new_buffer + buffer->used_size, data, size); buffer->buffer = new_buffer; buffer->buffer_size = new_buffer_size; -- cgit v1.1