- Create the UI objects on stack to don't have to delete the pointer later
author Darío Andrés Rodríguez
()
committer Darío Andrés Rodríguez
()
commit c74350dbefd59963df243c3685acd8691b74cb8e
tree 7263c60b977ef985b29440bd1460cd9a2921030a
parent 6c4c195e89d547be61a5f46b03e72143c6fb5570
- Create the UI objects on stack to don't have to delete the pointer later
(and it is the preferred method anyways)
- Delete the SearchProvider objects on destruction or removal

* This two changes fix several memory leaks


svn path=/trunk/KDE/kdebase/runtime/; revision=1021779
kurifilter-plugins/ikws/ikwsopts.cpp
kurifilter-plugins/ikws/ikwsopts.h
kurifilter-plugins/ikws/ikwsopts_p.h
kurifilter-plugins/ikws/searchproviderdlg.cpp
kurifilter-plugins/ikws/searchproviderdlg.h