From 1adc7f0bdd159e733959c24a122f593e3a006628 Mon Sep 17 00:00:00 2001 From: Johannes Schickel Date: Fri, 10 Feb 2012 01:45:16 +0100 Subject: BASE: Remove unneeded code in PluginManagerUncached. Thanks to Yotam for confirming that this isn't needed anymore. --- base/plugins.cpp | 2 -- 1 file changed, 2 deletions(-) (limited to 'base') diff --git a/base/plugins.cpp b/base/plugins.cpp index df12d0d3ba..db8a5d8817 100644 --- a/base/plugins.cpp +++ b/base/plugins.cpp @@ -355,8 +355,6 @@ void PluginManagerUncached::init() { unloadAllPlugins(); _allEnginePlugins.clear(); - // Resize our pluginsInMem list to prevent fragmentation - _pluginsInMem[PLUGIN_TYPE_ENGINE].resize(2); unloadPluginsExcept(PLUGIN_TYPE_ENGINE, NULL, false); // empty the engine plugins for (ProviderList::iterator pp = _providers.begin(); -- cgit v1.2.3