Module: kamailio
Branch: master
Commit: cb2e90295695432dc7b984e1f68abee01a6469de
URL:
https://github.com/kamailio/kamailio/commit/cb2e90295695432dc7b984e1f68abee…
Author: Andreas Granig <agranig(a)sipwise.com>
Committer: Andreas Granig <agranig(a)sipwise.com>
Date: 2018-03-09T10:10:52+01:00
db_redis: Fix null free in delete
---
Modified: src/modules/db_redis/redis_dbase.c
---
Diff:
https://github.com/kamailio/kamailio/commit/cb2e90295695432dc7b984e1f68abee…
Patch:
https://github.com/kamailio/kamailio/commit/cb2e90295695432dc7b984e1f68abee…
---
diff --git a/src/modules/db_redis/redis_dbase.c b/src/modules/db_redis/redis_dbase.c
index 2fba2c5f54..247627189d 100644
--- a/src/modules/db_redis/redis_dbase.c
+++ b/src/modules/db_redis/redis_dbase.c
@@ -1393,7 +1393,6 @@ static int db_redis_perform_delete(const db1_con_t* _h,
km_redis_con_t *con, con
//db_redis_key_free(&type_keys);
LM_DBG("+++ done with loop '%.*s'\n", k->key.len,
k->key.s);
}
- pkg_free(query_v);
db_redis_key_free(&type_keys);
db_redis_key_free(&all_type_keys);