projects
/
pazpar2-moved-to-github.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
419a9b4
)
Call client_destroy when releasing it from session
author
Adam Dickmeiss
<adam@indexdata.dk>
Mon, 19 Apr 2010 11:52:03 +0000
(13:52 +0200)
committer
Adam Dickmeiss
<adam@indexdata.dk>
Mon, 19 Apr 2010 11:52:03 +0000
(13:52 +0200)
src/session.c
patch
|
blob
|
history
diff --git
a/src/session.c
b/src/session.c
index
676627c
..
33331fb
100644
(file)
--- a/
src/session.c
+++ b/
src/session.c
@@
-452,7
+452,11
@@
static void select_targets_callback(void *context, struct session_database *db)
static void session_remove_clients(struct session *se)
{
while (se->clients)
- client_remove_from_session(se->clients);
+ {
+ struct client *cl = se->clients;
+ client_remove_from_session(cl);
+ client_destroy(cl);
+ }
}
// Associates a set of clients with a session;