Fix plugin loading and/or unloading segfault.
Fix plugin loading and/or unloading segfault.

CCMAIL: ereslibre@kde.org
CCBUG: 180007

svn path=/trunk/KDE/kdepim/kontact/src/; revision=947994

lefou/kdepim-noakonadi,lefou/kdepim-noakonadi,lefou/kdepim-noakonadi,lefou/kdepim-noakonadi,lefou/kdepim-noakonadi,lefou/kdepim-noakonadi