Commit 43fbf1e5 authored by Vitaly Arbuzov's avatar Vitaly Arbuzov
Browse files

Delete dict array in discardTempDb in addition to releasing individual dicts

parent 0b9004e3
......@@ -559,6 +559,7 @@ void discardTempDb(redisDb *tempDb, void(callback)(dict*)) {
for (int j=0; j<tempDb[i].dict_count; j++) {
dictRelease(tempDb[i].dict[j]);
}
zfree(tempDb[i].dict);
dictRelease(tempDb[i].expires);
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment