libev migration - copy valus we use for loop control before we hand it off into the...
authorWilfried Goesgens <dothebart@citadel.org>
Sun, 30 Jan 2011 20:28:35 +0000 (21:28 +0100)
committerWilfried Goesgens <dothebart@citadel.org>
Sun, 30 Jan 2011 20:28:35 +0000 (21:28 +0100)
commit84cd2634c086829291eb87eaee4f81c0c03f9fce
tree686b14d0aaaac9d61cf2e05bbc67d42291f6f855
parenta25aad2034f79b31c3fbe8442ff2847d5f322d68
libev migration - copy valus we use for loop control before we hand it off into the libevent queue

  - this fixes a race condition causing a double free with the to be copied mailpayload
citadel/event_client.c
citadel/modules/c-ares-dns/serv_c-ares-dns.c
citadel/modules/smtp/serv_smtpqueue.c