GFS: fix bend_assoc_is_alive
authorAdam Dickmeiss <adam@indexdata.dk>
Fri, 30 Dec 2011 13:36:47 +0000 (14:36 +0100)
committerAdam Dickmeiss <adam@indexdata.dk>
Fri, 30 Dec 2011 13:38:39 +0000 (14:38 +0100)
commitabe46958ffd48a2af09b9f7753f89342e31fb1e1
treec69623f68bebe8e82987f32a3dd1526c13acfea7
parentc6e6b1fe0674de638fbc1ad44393baa251d4af6f
GFS: fix bend_assoc_is_alive

When cs_get returns 0 the association is marked dead, rather then
being destroyed. If not, the session memory is being free'd before
the search/scan handler is finished. Also destroy request memory
in request_release rather than in various places, which resulted in
leaks from time to time.
src/requestq.c
src/seshigh.c