I compile test.cpp with make and when I try to execute any docker api method I get Segmentation fault. After using gdb I understood, that problem in line 274 with function: curl_slist_free_all(headers);. After I comment this line and recompile project, error gone.
I compile
test.cppwithmakeand when I try to execute any docker api method I getSegmentation fault. After usinggdbI understood, that problem in line 274 with function:curl_slist_free_all(headers);. After I comment this line and recompile project, error gone.