Skip to content

Commit

Permalink
Fix problem with rediscluster storage
Browse files Browse the repository at this point in the history
  • Loading branch information
sapfeer0k committed Jan 27, 2016
1 parent 0579872 commit cc15aae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion redis_session.c
Original file line number Diff line number Diff line change
Expand Up @@ -627,7 +627,7 @@ PS_READ_FUNC(rediscluster) {

/* Attempt to read reply */
reply = cluster_read_resp(c TSRMLS_CC);
if (!reply || c->err) {
if (!reply || c->err || reply->str == NULL) {
if (reply) cluster_free_reply(reply, 1);
return FAILURE;
}
Expand Down

0 comments on commit cc15aae

Please sign in to comment.