properly delete current channel in channel_free_list
commitbbb73eaf31d3df5cde70ac4ca7145ffca053d53e
authorSebastian Hahn <sebastian@torproject.org>
Sat, 29 Aug 2015 15:00:51 +0000 (29 17:00 +0200)
committerSebastian Hahn <sebastian@torproject.org>
Tue, 1 Sep 2015 13:10:10 +0000 (1 15:10 +0200)
tree7d77e187d8dd52e69a3d177455047c4462af5d01
parentb531fc7d9a8f75969b0446578ee4afcb109bae3d
properly delete current channel in channel_free_list

channel_unregister() removes channels from the current smartlist while
we're in a SMORTLIST_FOREACH loop. This only works by accident.
changes/bug16924 [new file with mode: 0644]
src/or/channel.c