]> granicus.if.org Git - libevent/commit
Replace an assertion for event_base_free(NULL) with a check-and-warn
authorNick Mathewson <nickm@torproject.org>
Wed, 8 Jun 2011 18:24:45 +0000 (14:24 -0400)
committerNick Mathewson <nickm@torproject.org>
Wed, 8 Jun 2011 18:24:45 +0000 (14:24 -0400)
commit09fe97da3b0dcdb6ee172ff8e4f710e0baad2d1c
treea715b0a6e9dd9d0cab4b1373077d3c7d4de2702f
parent89d5e09e4d3a4666bf5eba7d6807e183e861a70a
Replace an assertion for event_base_free(NULL) with a check-and-warn

event_base_free(NULL) means "free the current event base".
Previously, it would assert if there was no 'current' base.  Now it
just warns and returns.

Reported by Gilad Benjamini
event.c