]> granicus.if.org Git - libevent/commit
Fix lock leak in be_pair_flush() if flush type is BEV_NORMAL
authorBill Vaughan <billvaughan@gmail.com>
Fri, 24 Jul 2015 12:40:59 +0000 (05:40 -0700)
committerAzat Khuzhin <a3at.mail@gmail.com>
Fri, 30 Oct 2015 15:55:39 +0000 (18:55 +0300)
commitf45d39d1a45b762a48b6648672ee66019d74e877
treeb2cbcb58fb536da8e1ff7ba015f8eaf72a681b18
parentad52602ffd3129c0fc8c4790a4c85ca214c86471
Fix lock leak in be_pair_flush() if flush type is BEV_NORMAL

Fixes: bufferevent/bufferevent_pair_flush_normal
  $ regress --no-fork bufferevent/bufferevent_pair_flush_normal
  bufferevent/bufferevent_pair_flush_normal:
    FAIL ../test/regress_bufferevent.c:181: assert(bufferevent_pair_get_partner(bev1) == NULL): 0x177fa20 vs (nil)
    [bufferevent_pair_flush_normal FAILED]

Fixes #266
bufferevent_pair.c