-
-
Notifications
You must be signed in to change notification settings - Fork 6.6k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
memory leak on macOS M1 #12860
Comments
These are all allocations inside the TLS library, in your case LibreSSL. Did your code run |
I tried calling curl_global_cleanup at the end, and i still get memory leaks:
Memory leaks from instruments:
|
Please try the latest curl. There have been some changes to the way libcurl handles LibreSSL 2.7.0+ init/deinit in the last few versions. /cc @vszakats |
On latest curl (8.6) the leak doesn't reproduce, however i want to use specifically the curl that is shipped with macOS. |
We can't do anything about that. If an OS wants to maintain an older version then it's up to them to do that. You can use Apple's feedback assistant but aside from that I don't know what else. |
If 8.6.0 doesn't leak, then the problem is already fixed and our job is done. |
I did this
Hi,
I ran the following code which cause memory leaks after
curl_easy_cleanup(hnd);
was called. The memory leaks are identified using XCode instruments.I expected the following
I expected no memory leaks and instead i received the following leaks.
curl/libcurl version
curl 8.1.2 (x86_64-apple-darwin23.0) libcurl/8.1.2 (SecureTransport) LibreSSL/3.3.6 zlib/1.2.12 nghttp2/1.55.1
macOS shipped lib of curl.
operating system
sonoma 14.1.1 M1 amcOS.
The text was updated successfully, but these errors were encountered: