修复cleanup_update_status中对redis reply double free的bug。

This commit is contained in:
zhengchao
2018-11-07 19:30:05 +08:00
parent cbd3cf4ab2
commit 870f6a7f06
2 changed files with 20 additions and 1 deletions

View File

@@ -1,4 +1,21 @@
# 简介
MAAT是古埃及神话中真理与正义女神她的羽毛feather能够判断离世之人能否前往天堂。
MAAT框架对网络流处理中的配置进行抽象并具有配置写入、多机同步基于Redis、加载、扫描的功能。
Maat_rule.h中描述了初始化和配置扫描的API。
Maat_command.h中描述了配置写入的API。
# 编译
普通编译
` Make`
带调试符号编译
`Make debug`
生成动态链接库 `./build/src/libmaatframe.so`
生成静态链接库 `./build/src/libmaatframe.a`

View File

@@ -1436,6 +1436,8 @@ void cleanup_update_status(redisContext *ctx, void *logger)
,version_upper_bound
,version_num
,entry_num);
return;
error_out:
freeReplyObject(reply);
return;