aboutsummaryrefslogtreecommitdiff
path: root/include/rootston
diff options
context:
space:
mode:
authoremersion <contact@emersion.fr>2018-02-23 10:29:18 +0100
committeremersion <contact@emersion.fr>2018-02-23 10:29:18 +0100
commitca3a9478640e6e70b89a988fd0005e6b57b6b35c (patch)
treea8a6b751d56d1f5ec09d47bddb0e3c4fbe939149 /include/rootston
parent5dba27216c760b9d750a75209a228efef499d08f (diff)
rootston: fix user-after-free in output_handle_destroy
Diffstat (limited to 'include/rootston')
-rw-r--r--include/rootston/output.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/rootston/output.h b/include/rootston/output.h
index 9682e4f5..a852a204 100644
--- a/include/rootston/output.h
+++ b/include/rootston/output.h
@@ -19,7 +19,8 @@ struct roots_output {
struct wlr_output_damage *damage;
struct wl_listener destroy;
- struct wl_listener frame;
+ struct wl_listener damage_frame;
+ struct wl_listener damage_destroy;
};
void handle_new_output(struct wl_listener *listener, void *data);