X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;ds=sidebyside;f=src%2Flibelogind%2Fsd-event%2Fsd-event.c;h=cfd5a55457758a7ceadd8ab9d0299af6f7920926;hb=d22c4385791244b245652a6ddaeed4f20d3d1137;hp=c3673f08a65a0b1d8d8ff7b214fa442ff1630c03;hpb=dad879d0bdf2b21c47fe11d1464a2da2e3ec6b8b;p=elogind.git diff --git a/src/libelogind/sd-event/sd-event.c b/src/libelogind/sd-event/sd-event.c index c3673f08a..cfd5a5545 100644 --- a/src/libelogind/sd-event/sd-event.c +++ b/src/libelogind/sd-event/sd-event.c @@ -732,7 +732,6 @@ 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;