Date: Sun, 7 Aug 2005 08:35:39 +0000 (UTC) From: Stefan Farfeleder <stefanf@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/lib/libedit el.h map.c tokenizer.c Message-ID: <200508070835.j778ZdRp066091@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200508070835.j778ZdRp066091>