The strings package passes back a pointer via brk_string() to internal
authorMatthew Dillon <dillon@dragonflybsd.org>
Fri, 12 Nov 2004 21:46:09 +0000 (21:46 +0000)
committerMatthew Dillon <dillon@dragonflybsd.org>
Fri, 12 Nov 2004 21:46:09 +0000 (21:46 +0000)
commit666c478965b42c82e5bf2adc4eadea543412aeeb
treec70c38ef2db825e50361570e1c22f795ed4d366b
parent9edd457eaaca4cd2450e10f0da12509cb2081976
The strings package passes back a pointer via brk_string() to internal
memory, it should not be deallocated.  The memory is allocated in str_init()
and release in str_end() which are only called in main().

Submitted-by: Max Okumoto <okumoto@home>
Taken-from: FreeBSD/1.22
usr.bin/make/job.c