]> git.mdlowis.com Git - proto/labwc.git/commitdiff
output: add wl_list_remove()s
authorJohan Malm <jgm323@gmail.com>
Thu, 8 Oct 2020 19:37:42 +0000 (20:37 +0100)
committerJohan Malm <jgm323@gmail.com>
Thu, 8 Oct 2020 19:37:42 +0000 (20:37 +0100)
src/output.c

index a355b675b273af0472254098a437ad1fbbea214c..f34f7ac57623307e9cbdd6a8b94bcd8abba3cacf 100644 (file)
@@ -348,9 +348,10 @@ output_destroy_notify(struct wl_listener *listener, void *data)
 {
         struct output *output = wl_container_of(listener, output, destroy);
         wl_list_remove(&output->link);
+        wl_list_remove(&output->frame.link);
+        wl_list_remove(&output->destroy.link);
 }
 
-
 static void
 new_output_notify(struct wl_listener *listener, void *data)
 {