Diff for /embedaddon/readline/xfree.c between versions 1.1.1.1 and 1.1.1.2

version 1.1.1.1, 2014/07/30 08:16:45 version 1.1.1.2, 2021/03/17 01:01:01
Line 1 Line 1
 /* xfree.c -- safe version of free that ignores attempts to free NUL */  /* 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     This file is part of the GNU Readline Library (Readline), a library
    for reading lines of text with interactive input and history editing.           for reading lines of text with interactive input and history editing.      
Line 42 Line 42
 /* Use this as the function to call when adding unwind protects so we  /* Use this as the function to call when adding unwind protects so we
    don't need to know what free() returns. */     don't need to know what free() returns. */
 void  void
xfree (string)xfree (PTR_T string)
     PTR_T string; 
 {  {
   if (string)    if (string)
     free (string);      free (string);

Removed from v.1.1.1.1  
changed lines
  Added in v.1.1.1.2


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>