diff --git a/Plugins/PluginWebParser/WebParser.cpp b/Plugins/PluginWebParser/WebParser.cpp index 196720c7..89e538e4 100644 --- a/Plugins/PluginWebParser/WebParser.cpp +++ b/Plugins/PluginWebParser/WebParser.cpp @@ -532,6 +532,11 @@ void ParseData(UrlData* urlData, LPCSTR parseData) else { Log(L"WebParser: Not enough substrings!"); + + // Clear the old result + EnterCriticalSection(&g_CriticalSection); + urlData->resultString.clear(); + LeaveCriticalSection(&g_CriticalSection); } // Update the references