refactor ex_data_runtime & fix all leak memory
This commit is contained in:
@@ -168,6 +168,8 @@ TEST(redis_mode, maat_scan_string) {
|
||||
|
||||
redisReply *reply = maat_cmd_wrap_redis_command(c, "flushdb");
|
||||
EXPECT_TRUE(reply != NULL);
|
||||
freeReplyObject(reply);
|
||||
reply = NULL;
|
||||
|
||||
if (access(json_iris_path, F_OK) < 0) {
|
||||
char tmp_iris_path[128] = {0};
|
||||
|
||||
Reference in New Issue
Block a user