Merge pull request #901 from emersion/layer-shell-minor-memory-leak

layer-shell: fix small memory leak
This commit is contained in:
Drew DeVault 2018-04-25 11:39:25 +02:00 committed by GitHub
commit 097561d6bf
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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;