[Webkit-unassigned] [Bug 45699] ResourceResponseBase::setMimeType wants mimetype and not content type
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Mon Sep 13 13:23:41 PDT 2010
https://bugs.webkit.org/show_bug.cgi?id=45699
Martin Robinson <mrobinson at webkit.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #67460|review? |review-
Flag| |
--- Comment #2 from Martin Robinson <mrobinson at webkit.org> 2010-09-13 13:23:41 PST ---
(From update of attachment 67460)
View in context: https://bugs.webkit.org/attachment.cgi?id=67460&action=prettypatch
> WebCore/platform/network/soup/ResourceHandleSoup.cpp:869
> + response.setMimeType(g_content_type_get_mime_type(g_file_info_get_content_type(info)));
It isn't well documented, but this is a memory leak, because g_content_type_get_mime_type returns a newly-allocated string.
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list