Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: shwordsplit: final non-whitespace IFS character problem



On Tue, 8 Aug 2017 12:56:40 +0200
Kamil Dudka <kdudka@xxxxxxxxxx> wrote:
> Is it correct when you free() the pointer that you previously gave to
> realloc()?  Could not it cause a double free()?

You're right --- which will be why I originally didn't have the free
there.  Will need remembering if we resurrect this.

Cheers
pws



Messages sorted by: Reverse Date, Date, Thread, Author