diff --git a/dlls/mshtml/pluginhost.c b/dlls/mshtml/pluginhost.c
index af0943b552c..930931086a7 100644
--- a/dlls/mshtml/pluginhost.c
+++ b/dlls/mshtml/pluginhost.c
@@ -1281,6 +1281,7 @@ void detach_plugin_host(PluginHost *host)
}
list_remove(&host->entry);
+ list_init(&host->entry);
host->doc = NULL;
}