This commit is contained in:
Jovan Lanik 2024-10-22 05:35:14 +02:00
parent 31a2b0f049
commit fbcc6be6a6

View file

@ -142,6 +142,7 @@ void on_focus_change(struct GtkLock *gtklock, struct Window *win, struct Window
void on_window_destroy(struct GtkLock *gtklock, struct Window *ctx) {
if(MODULE_DATA(ctx) != NULL) {
gtk_widget_destroy(POWERBAR(ctx)->revealer);
g_free(MODULE_DATA(ctx));
MODULE_DATA(ctx) = NULL;
}