projects
/
pazpar2-moved-to-github.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix SEGV: connection_get_link PAZ-965
[pazpar2-moved-to-github.git]
/
src
/
client.c
diff --git
a/src/client.c
b/src/client.c
index
723f8be
..
9af8c2b
100644
(file)
--- a/
src/client.c
+++ b/
src/client.c
@@
-1151,7
+1151,9
@@
void client_set_connection(struct client *cl, struct connection *con)
}
else
{
+ client_lock(cl);
cl->connection = con;
+ client_unlock(cl);
client_destroy(cl);
}
}