projects
/
yaz-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:
3bf181e
)
Fix null ptr reference for freeReplyObject YAZ-773
author
Adam Dickmeiss
<adam@indexdata.dk>
Fri, 20 Jun 2014 13:07:12 +0000
(15:07 +0200)
committer
Adam Dickmeiss
<adam@indexdata.dk>
Fri, 20 Jun 2014 13:07:12 +0000
(15:07 +0200)
src/zoom-memcached.c
patch
|
blob
|
history
diff --git
a/src/zoom-memcached.c
b/src/zoom-memcached.c
index
fbdc886
..
f69089c
100644
(file)
--- a/
src/zoom-memcached.c
+++ b/
src/zoom-memcached.c
@@
-272,7
+272,8
@@
void ZOOM_memcached_search(ZOOM_connection c, ZOOM_resultset resultset)
ZOOM_connection_put_event(c, event);
resultset->live_set = 1;
}
- freeReplyObject(reply);
+ if (reply)
+ freeReplyObject(reply);
}
#endif
#if HAVE_LIBMEMCACHED