GNOME Bugzilla – Bug 722308
Plugin should be able to provide deinit function
Last modified: 2016-02-21 23:15:04 UTC
This would ehnance plugins ability to cleanup memory and to avoid Valgrind memcheck false positives.
We make all plugins resident, so they will never be unloaded. What would you want to clean up, for example?
(In reply to comment #1) > We make all plugins resident, so they will never be unloaded. > > What would you want to clean up, for example? Everything currently requiring valgrind suppressions file. We have gst_deinit() function, so we could free all plugin data at this point.
What would this be for example? Can you show a valgrind log?
Closing this bug report as no further information has been provided. Please feel free to reopen this bug report if you can provide the information that was asked for in a previous comment. Thanks! It's unusual that plugins allocate a lot of things in their plugin_init function, and everything else you can free already via GType and the class system if I'm not mistaken.