diff --git a/plugins.cpp b/plugins.cpp index 85156b269b..4db286ce84 100644 --- a/plugins.cpp +++ b/plugins.cpp @@ -123,7 +123,8 @@ bool PluginMgr::loadPlugin(QString nameStr) ((void (*)())init_func)(); } - create_ptr = old_create_ptr = NULL; + create_ptr = NULL; + old_create_ptr = NULL; if( library->hasSymbol("create")) { void* create_func = library->symbol("create"); if(create_func) {