commit | 78b4597397765d73b00995165ee972bbf2e36882 | [log] [tgz] |
---|---|---|
author | Martijn Coenen <maco@google.com> | Fri Jan 20 11:27:45 2012 -0800 |
committer | Martijn Coenen <maco@google.com> | Fri Jan 20 11:27:45 2012 -0800 |
tree | d6112ee35dca853821dee6a9b7ad907fc4a1390e | |
parent | 5630038faf48c6c087270d55030dc07f332e4da2 [diff] |
Clear out send/recv callbacks for connectionless sockets. When a connectionless socket is closed, Connectionless_Abort() is called, which in turn calls the send and receive callbacks to indicate abortion. But since these callbacks are not cleared out after a previous send/receive has completed, this can lead to spurious callbacks and consequently memory corruption. Change-Id: Iea7a34829c4db1cae3b49f33117b25b50205683f