summaryrefslogtreecommitdiff
path: root/bufferevent_filter.c
diff options
context:
space:
mode:
Diffstat (limited to 'bufferevent_filter.c')
-rw-r--r--bufferevent_filter.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/bufferevent_filter.c b/bufferevent_filter.c
index 0dbc0973..0608f4a4 100644
--- a/bufferevent_filter.c
+++ b/bufferevent_filter.c
@@ -233,6 +233,8 @@ be_filter_destruct(struct bufferevent *bev)
}
} else {
if (bevf->underlying) {
+ bufferevent_setcb(bevf->underlying,
+ NULL, NULL, NULL, NULL);
bufferevent_unsuspend_read(bevf->underlying,
BEV_SUSPEND_FILT_READ);
}