修复cleanup_update_status中对redis reply double free的bug。
This commit is contained in:
17
readme.txt
17
readme.txt
@@ -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`
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user