Although I didn't run the code yet, it seems to me that the local variables that retrieve the response from Curl using the Append::buffer interface create a lot of memory leaks. While there is a call to new char[...] in the Append::buffer, nobody frees the data of the local Data struct.
Although I didn't run the code yet, it seems to me that the local variables that retrieve the response from Curl using the Append::buffer interface create a lot of memory leaks. While there is a call to new char[...] in the Append::buffer, nobody frees the data of the local Data struct.
e.g.: https://github.com/CloudPolis/webdav-client-cpp/blob/5a92c825e84ba0a3d1907b8cbdaeee7fa3079bb5/sources/client.cpp#L289
Did I miss something?