diff options
author | Chet Ramey <chet.ramey@case.edu> | 2019-01-07 09:30:21 -0500 |
---|---|---|
committer | Chet Ramey <chet.ramey@case.edu> | 2019-01-07 09:30:21 -0500 |
commit | 8e6ccd0373d77b86ed37a9a7d232ccfea3d6670c (patch) | |
tree | 58bce2928cd55511defa0029ba70b884053c3fdb /xfree.c | |
parent | 57ea39840aebbb34571df1586acc66783b3368d0 (diff) | |
download | readline-8e6ccd0373d77b86ed37a9a7d232ccfea3d6670c.tar.gz |
readline-8.0 distribution sources and documentationreadline-8.0
Diffstat (limited to 'xfree.c')
-rw-r--r-- | xfree.c | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -1,6 +1,6 @@ /* xfree.c -- safe version of free that ignores attempts to free NUL */ -/* Copyright (C) 1991-2010 Free Software Foundation, Inc. +/* Copyright (C) 1991-2010,2017 Free Software Foundation, Inc. This file is part of the GNU Readline Library (Readline), a library for reading lines of text with interactive input and history editing. @@ -42,8 +42,7 @@ /* 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; +xfree (PTR_T string) { if (string) free (string); |