aboutsummaryrefslogtreecommitdiff
path: root/include/wlr
diff options
context:
space:
mode:
authoremersion <contact@emersion.fr>2018-04-24 22:40:48 +0100
committeremersion <contact@emersion.fr>2018-04-24 22:40:48 +0100
commit8e2f3056f878755035d645ea4acc4a669e8fb35b (patch)
treed474ac2a567233cd2bbd577167c26116be606f69 /include/wlr
parentc40f86d27f611a2b34cead63e63c12d6a18263eb (diff)
layer-shell: fix small memory leak
Diffstat (limited to 'include/wlr')
-rw-r--r--include/wlr/types/wlr_layer_shell.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/wlr/types/wlr_layer_shell.h b/include/wlr/types/wlr_layer_shell.h
index 6040478d..22352906 100644
--- a/include/wlr/types/wlr_layer_shell.h
+++ b/include/wlr/types/wlr_layer_shell.h
@@ -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;