Memory leak in GTK's DRT code. To fix the leak, string retuned by g_path_get_dirname() must be freed. ==13984== 102 bytes in 2 blocks are definitely lost in loss record 9,327 of 10,890 ==13984== at 0x4C2B6CD: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so) ==13984== by 0xCB3AA38: g_malloc (gmem.c:159) ==13984== by 0xCB23A35: g_path_get_dirname (gfileutils.c:2454) ==13984== by 0x474F61: pathFromSoupURI(_SoupURI*) (DumpRenderTree.cpp:1130) ==13984== by 0x47507B: convertSoupMessageToURLPath(_SoupMessage*) (DumpRenderTree.cpp:1141) ==13984== by 0x4750BD: convertNetworkRequestToURLPath(_WebKitNetworkRequest*) (DumpRenderTree.cpp:1147) ==13984== by 0x47582C: willSendRequestCallback(_WebKitWebView*, _WebKitWebFrame*, _WebKitWebResource*, _WebKitNetworkRequest*, _WebKitNetworkResponse*) (DumpRenderTree.cpp:1263) ==13984== by 0x6F0681E: webkit_marshal_VOID__OBJECT_OBJECT_OBJECT_OBJECT (webkitmarshal.cpp:1124) ==13984== by 0xC8ADCA1: g_closure_invoke (gclosure.c:777) ==13984== by 0xC8BED70: signal_emit_unlocked_R (gsignal.c:3547) ==13984== by 0xC8C7098: g_signal_emit_valist (gsignal.c:3296) ==13984== by 0xC8C7753: g_signal_emit_by_name (gsignal.c:3389)
Created attachment 158086 [details] Patch
Comment on attachment 158086 [details] Patch Clearing flags on attachment: 158086 Committed r125515: <http://trac.webkit.org/changeset/125515>
All reviewed patches have been landed. Closing bug.