Tai-hwa Liang e7356456ed Nuking the temporary pointer once it is properly tracked in local storage.
This should fix the double free() bug where there's no tailing newline(\n)
character:

	current# echo -n test | tail
	testAssertion failed: (run->magic == ARENA_RUN_MAGIC), function
	arena_dalloc, file /usr/src/lib/libc/stdlib/malloc.c, line 2448.
	Abort (core dumped)

Reviewed by:	kib
MFC after:	3 days
2007-11-22 01:51:46 +00:00
..
2007-09-11 01:59:00 +00:00
2007-11-01 21:56:09 +00:00
2007-11-09 16:31:47 +00:00
2007-05-12 12:23:40 +00:00
2007-11-07 07:59:38 +00:00
2007-11-08 08:57:51 +00:00
2007-10-15 20:00:24 +00:00
2007-11-07 07:56:57 +00:00
2007-05-17 00:19:56 +00:00
2007-11-02 12:07:07 +00:00