We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 73e5bc9 commit 94dba66Copy full SHA for 94dba66
src/database-redis.cpp
@@ -116,6 +116,7 @@ void Database_Redis::saveBlock(MapBlock *block)
116
throw FileNotGoodException(std::string("redis command 'HSET %s %s %b' failed: ") + ctx->errstr);
117
if(reply->type == REDIS_REPLY_ERROR)
118
throw FileNotGoodException("Failed to store block in Database");
119
+ freeReplyObject(reply);
120
121
// We just wrote it to the disk so clear modified flag
122
block->resetModified();
0 commit comments