From 8e2f3056f878755035d645ea4acc4a669e8fb35b Mon Sep 17 00:00:00 2001 From: emersion Date: Tue, 24 Apr 2018 22:40:48 +0100 Subject: layer-shell: fix small memory leak --- include/wlr/types/wlr_layer_shell.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include') 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; -- cgit v1.2.3