Re:Fewer mallocs in curl
by daemin on Monday April 24, 2017 @06:55AM
(#14183267)
You can always allocate memory big enough for a the payload plus the link structure without the links actually being inside of the payload. Just make the first part of memory contain the links and immediately afterward you have the payload.
[ Parent
| on HN ]
There are no comments on this comment yet.