When reviewing the code I believe I have found parts in the error handling code where "g_free" is missing. See attached patch for details.
Created attachment 34449 [details] Added "g_free" after calls to "soup_uri_to_string" and "g_file_get_uri" where they where missing.
I'm sorry if I have misunderstood the code. I'm new to WebKit, SOUP and glib. Please give me some short input if I have missed something regarding the resource handling. Thanks.
Comment on attachment 34449 [details] Added "g_free" after calls to "soup_uri_to_string" and "g_file_get_uri" where they where missing. > + char *uri=soup_uri_to_string(soup_message_get_uri(msg), false); Formatting is wrong here. It should be "char* uri = soup…" Otherwise, this patch looks great. I'm going to say r=me
(In reply to comment #3) > (From update of attachment 34449 [details]) > > + char *uri=soup_uri_to_string(soup_message_get_uri(msg), false); > > Formatting is wrong here. It should be "char* uri = soup…" > > Otherwise, this patch looks great. I'm going to say r=me Thanks. Landed as http://trac.webkit.org/changeset/46989.