提交 09c62e6c 编写于 作者: M Minglei Jin

fix values_list index when freeing

上级 8e87b21a
......@@ -275,7 +275,7 @@ int32_t tsdbCacheUpdate(STsdb *pTsdb, tb_uid_t suid, tb_uid_t uid, TSDBROW *pRow
}
rocksdb_free(values_list[i]);
rocksdb_free(values_list[i + ROCKS_KEY_LEN]);
rocksdb_free(values_list[i + num_keys]);
}
taosMemoryFree(values_list);
taosMemoryFree(values_list_sizes);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册