Bug 19944 - [Curl] Curl should cleanup resources acquired by curl_global_init
Summary: [Curl] Curl should cleanup resources acquired by curl_global_init
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Platform (show other bugs)
Version: 528+ (Nightly build)
Hardware: PC All
: P2 Normal
Assignee: Nobody
URL:
Keywords: Curl
Depends on:
Blocks:
 
Reported: 2008-07-08 07:37 PDT by Jan Alonzo
Modified: 2008-07-26 22:52 PDT (History)
0 users

See Also:


Attachments
patch to call curl_global_cleanup in ResourceHandleManager's destructor (1.11 KB, patch)
2008-07-08 07:38 PDT, Jan Alonzo
christian: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jan Alonzo 2008-07-08 07:37:26 PDT
Curl should call curl_global_cleanup to cleanup resources acquired by curl_global_init.
Comment 1 Jan Alonzo 2008-07-08 07:38:41 PDT
Created attachment 22157 [details]
patch to call curl_global_cleanup in ResourceHandleManager's destructor
Comment 2 Christian Dywan 2008-07-26 17:56:42 PDT
Comment on attachment 22157 [details]
patch to call curl_global_cleanup in ResourceHandleManager's destructor

according to libcurl's documentation curl_global_cleanup should be called for each curl_global_init. So this seems like the right thing to do.
Comment 3 Mark Rowe (bdash) 2008-07-26 22:52:21 PDT
r35394.