cvs commit: src/lib/libedit el.h map.c tokenizer.c

Stefan Farfeleder stefanf at FreeBSD.org
Sun Aug 7 09:01:19 GMT 2005


stefanf     2005-08-07 08:35:39 UTC

  FreeBSD src repository

  Modified files:
    lib/libedit          el.h map.c tokenizer.c 
  Log:
  Revert the replacement of realloc() with reallocf() (el.h:1.2, map.c:1.5 and
  tokenizer.c:1.3).  Contrary to the commit log there were no memory leaks,
  but the change introduced a bug because the free'd pointer was not zeroed
  and calling the appropriate _end() function would call free() a second time.
  
  Revision  Changes    Path
  1.5       +0 -1      src/lib/libedit/el.h
  1.9       +3 -3      src/lib/libedit/map.c
  1.7       +2 -3      src/lib/libedit/tokenizer.c


More information about the cvs-src mailing list