aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2018-04-25 11:39:25 +0200
committerGitHub <noreply@github.com>2018-04-25 11:39:25 +0200
commit097561d6bf51f61356fb096a8a3c59c2ff1de3fe (patch)
treea4d34e3b934a1ca78dd533fed1588fd2b8706173 /include
parent99e9f08c4add8f0d77c94d1b37daaec25809cf26 (diff)
parent8e2f3056f878755035d645ea4acc4a669e8fb35b (diff)
Merge pull request #901 from emersion/layer-shell-minor-memory-leak
layer-shell: fix small memory leak
Diffstat (limited to 'include')
-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;