Revert "Fixed leak of plugin instances"
commit486bd135faa2c8269044f9c03597bc6b05644540
authorJoão Abecasis <joao@abecasis.name>
Fri, 10 Jul 2009 13:36:02 +0000 (10 15:36 +0200)
committerJoão Abecasis <joao@abecasis.name>
Mon, 13 Jul 2009 10:16:44 +0000 (13 12:16 +0200)
treeaaf9690c4e3f18896ae57a40eb5e7712005ecea5
parentb9ea022e206bad5d80b4b9a7b957e8b8521d9fb9
Revert "Fixed leak of plugin instances"

mjansen reported on #qt-labs that this change crashes KDE applications
that were calling delete on their plugins.

It turns out that is also how QPluginLoader works, so the commit was a
bad idea to start with.

This reverts commit 4c7004122a858cd6d891efc7923ba11484fbf997.

Reviewed-by: Thiago Macieira
src/corelib/plugin/qplugin.h