layer-shell: fix small memory leak

This commit is contained in:
emersion 2018-04-24 22:40:48 +01:00
parent c40f86d27f
commit 8e2f3056f8
No known key found for this signature in database
GPG key ID: 0FDE7BE0E88F5E48
2 changed files with 20 additions and 13 deletions

View file

@ -61,7 +61,7 @@ struct wlr_layer_surface {
struct wlr_layer_shell *shell;
struct wl_list popups; // wlr_xdg_popup::link
const char *namespace;
char *namespace;
enum zwlr_layer_shell_v1_layer layer;
bool added, configured, mapped, closed;