In WPEQtView.cpp currently there is something like this, around line 435: variant.setValue(QString(g_strdup(strValue.get()))); Note that the pointer returned by g_strdup() is not freed, and the QString constructor makes a copy of the string. Not only this makes one uneeded copy, but also the one done by g_strdup() gets leaked.
Created attachment 442704 [details] Patch
Committed r284983 (243630@main): <https://commits.webkit.org/243630@main> All reviewed patches have been landed. Closing bug and clearing flags on attachment 442704 [details].
<rdar://problem/84759895>