mirror of https://github.com/davatorium/rofi.git
Fix memory leak
This commit is contained in:
parent
e9c3b930bc
commit
85d95c4f8f
|
@ -617,8 +617,8 @@ static void window_mode_destroy ( Mode *sw )
|
||||||
winlist_free ( rmpd->ids );
|
winlist_free ( rmpd->ids );
|
||||||
x11_cache_free ();
|
x11_cache_free ();
|
||||||
g_free ( rmpd->cache );
|
g_free ( rmpd->cache );
|
||||||
g_free ( rmpd );
|
|
||||||
g_regex_unref ( rmpd->window_regex );
|
g_regex_unref ( rmpd->window_regex );
|
||||||
|
g_free ( rmpd );
|
||||||
mode_set_private_data ( sw, NULL );
|
mode_set_private_data ( sw, NULL );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue