chiark / gitweb /
Prep v232: Apply missing updates from upstream
[elogind.git] / src / libelogind / sd-event / sd-event.c
index cfd5a55457758a7ceadd8ab9d0299af6f7920926..c3673f08a65a0b1d8d8ff7b214fa442ff1630c03 100644 (file)
@@ -732,6 +732,7 @@ static void event_unmask_signal_data(sd_event *e, struct signal_data *d, int sig
 
                 /* If all the mask is all-zero we can get rid of the structure */
                 hashmap_remove(e->signal_data, &d->priority);
+                assert(!d->current);
                 safe_close(d->fd);
                 free(d);
                 return;