summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/plugger.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/plugger.h b/src/plugger.h
index 5899dcf..57c2c0b 100644
--- a/src/plugger.h
+++ b/src/plugger.h
@@ -69,6 +69,14 @@ public:
69 69
70 virtual ~Plugger() 70 virtual ~Plugger()
71 { 71 {
72 void *pos = hObj.getFirstItemPos();
73 while( (pos = hObj.getNextItemPos( pos )) )
74 {
75 T *pPlug = (T *)hObj.getItemID( pos );
76 PluginReg *pReg = (PluginReg *)hObj.getItemData( pos );
77 pReg->pInfo->destroyPlugin( pPlug );
78 }
79
72 std::list<PluginReg *>::iterator i; 80 std::list<PluginReg *>::iterator i;
73 for( i = lPlugin.begin(); i != lPlugin.end(); i++ ) 81 for( i = lPlugin.begin(); i != lPlugin.end(); i++ )
74 { 82 {