mirror of
https://git.jabber.space/devs/cproof.git
synced 2026-07-24 07:06:21 +00:00
Free memory when plugin windows closed
This commit is contained in:
@@ -303,6 +303,9 @@ api_win_create(
|
||||
void(*callback_destroy)(void *callback))
|
||||
{
|
||||
if (callbacks_win_exists(plugin_name, tag)) {
|
||||
if (callback_destroy) {
|
||||
callback_destroy(callback);
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user