LoadedPluginsDialog: Fix memleak
(cherry picked from commit 96a871da2a0dadd066b0b19a1aa272bb388537d1)