mirror of
https://github.com/profanity-im/profanity.git
synced 2025-01-03 14:57:42 -05:00
Merge branch 'master' into osx-functional
This commit is contained in:
commit
5494136a72
@ -303,6 +303,9 @@ api_win_create(
|
|||||||
void(*callback_destroy)(void *callback))
|
void(*callback_destroy)(void *callback))
|
||||||
{
|
{
|
||||||
if (callbacks_win_exists(plugin_name, tag)) {
|
if (callbacks_win_exists(plugin_name, tag)) {
|
||||||
|
if (callback_destroy) {
|
||||||
|
callback_destroy(callback);
|
||||||
|
}
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -452,6 +452,7 @@ win_free(ProfWin* window)
|
|||||||
{
|
{
|
||||||
ProfPluginWin *pluginwin = (ProfPluginWin*)window;
|
ProfPluginWin *pluginwin = (ProfPluginWin*)window;
|
||||||
free(pluginwin->tag);
|
free(pluginwin->tag);
|
||||||
|
free(pluginwin->plugin_name);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
default:
|
default:
|
||||||
|
Loading…
Reference in New Issue
Block a user