Don't destroy plugin_fields->menu_item automatically - plugin_fields
should be owned by the plugin, so the plugin is responsible for destroying it, and any other memory it allocated. Print a warning message in debug mode if a plugin has no cleanup() function. git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1743 ea778897-0a13-0410-b9d1-a72fbfd435f5
Showing
Please
register
or
sign in
to comment