mirror of https://github.com/Icinga/icinga2.git
parent
645e260f9b
commit
a21da31ef6
|
@ -155,6 +155,7 @@ void RedisWriter::UpdateSubscriptions(void)
|
|||
redisReply *vreply = reinterpret_cast<redisReply *>(redisCommand(m_Context, "GET %s", keyReply->str));
|
||||
|
||||
if (!vreply) {
|
||||
freeReplyObject(reply);
|
||||
redisFree(m_Context);
|
||||
m_Context = NULL;
|
||||
return;
|
||||
|
|
Loading…
Reference in New Issue