http: use xmalloc with cURL
commit93b980e58f5624ee4e3b2dc0d0babaa97ef66d19
authorCarlo Marcelo Arenas Belón <carenas@gmail.com>
Thu, 15 Aug 2019 19:13:14 +0000 (15 12:13 -0700)
committerJunio C Hamano <gitster@pobox.com>
Thu, 15 Aug 2019 19:37:10 +0000 (15 12:37 -0700)
treedff391cce9786b565faf4aadf40b5788bacad154
parent9827d4c185e4da728f51cd77c54a38c9de62495f
http: use xmalloc with cURL

f0ed8226c9 (Add custom memory allocator to MinGW and MacOS builds, 2009-05-31)
never told cURL about it.

Correct that by using the cURL initializer available since version 7.12 to
point to xmalloc and friends for consistency which then will pass the
allocation requests along when USE_NED_ALLOCATOR=YesPlease is used (most
likely in Windows)

Signed-off-by: Carlo Marcelo Arenas Belón <carenas@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
http.h