MXS-2208 Add init/finish functions for mxb::http

Init/finish needed, as curl otherwise will leak memory.
This commit is contained in:
Johan Wikman
2018-12-17 16:58:47 +02:00
parent 0d733bb1bb
commit 3eca3ff7dc
3 changed files with 73 additions and 0 deletions

View File

@ -160,6 +160,8 @@ int main()
long start;
long stop;
mxb::http::Init init;
start = time_since_epoch_ms();
rv += test_http();
stop = time_since_epoch_ms();