diff options
Diffstat (limited to 'readline/xfree.c')
-rw-r--r-- | readline/xfree.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/readline/xfree.c b/readline/xfree.c index d3af7d9..37a81e6 100644 --- a/readline/xfree.c +++ b/readline/xfree.c @@ -31,10 +31,7 @@ # include "ansi_stdlib.h" #endif /* HAVE_STDLIB_H */ -#include <stdio.h> - #include "xmalloc.h" -#include "readline.h" /* **************************************************************** */ /* */ @@ -48,10 +45,6 @@ void xfree (string) PTR_T string; { - /* Leak a bit. */ - if (RL_ISSTATE(RL_STATE_SIGHANDLER)) - return; - if (string) free (string); } |