From f4b417c62a4f272c4cf9a074d0f7a3a97201f9db Mon Sep 17 00:00:00 2001 From: Sebastian Schmidt Date: Tue, 17 Apr 2012 11:23:35 +0200 Subject: Update to upstream bash 4.2 This upgrades bash to from 4.1-rc to 4.2-release. See CWRU/changelog for changes. Change-Id: I926269c300cf44fa25964b5b375a148fcf11c4b7 --- lib/readline/xmalloc.c | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'lib/readline/xmalloc.c') diff --git a/lib/readline/xmalloc.c b/lib/readline/xmalloc.c index 97d8f2e..c77d763 100644 --- a/lib/readline/xmalloc.c +++ b/lib/readline/xmalloc.c @@ -77,13 +77,3 @@ xrealloc (pointer, bytes) memory_error_and_abort ("xrealloc"); return (temp); } - -/* Use this as the function to call when adding unwind protects so we - don't need to know what free() returns. */ -void -xfree (string) - PTR_T string; -{ - if (string) - free (string); -} -- cgit v1.2.3