diff options
Diffstat (limited to 'avahi-common/simple-watch.c')
-rw-r--r-- | avahi-common/simple-watch.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/avahi-common/simple-watch.c b/avahi-common/simple-watch.c index c3ed86f..770cf4f 100644 --- a/avahi-common/simple-watch.c +++ b/avahi-common/simple-watch.c @@ -158,6 +158,7 @@ static void remove_pollfd(AvahiWatch *w) { static void watch_free(AvahiWatch *w) { assert(w); + assert(!w->dead); remove_pollfd(w); |