summaryrefslogtreecommitdiff
path: root/tcejdb
diff options
context:
space:
mode:
authoradam <adamansky@gmail.com>2013-08-11 23:01:22 +0700
committeradam <adamansky@gmail.com>2013-08-11 23:01:22 +0700
commit45bfed4ec45b180d874c41e90d01fd02c7847ee9 (patch)
tree07009df49bd068ebd49082f8194b7420b64b5c85 /tcejdb
parentd046c40bd1bdf1f7b06b00bdad8519d727e3df07 (diff)
downloadejdb-45bfed4ec45b180d874c41e90d01fd02c7847ee9.tar.gz
ejdb-45bfed4ec45b180d874c41e90d01fd02c7847ee9.tar.bz2
ejdb-45bfed4ec45b180d874c41e90d01fd02c7847ee9.zip
#15 memleak fixed
Diffstat (limited to 'tcejdb')
-rw-r--r--tcejdb/ejdb.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/tcejdb/ejdb.c b/tcejdb/ejdb.c
index c5ee89f..156067b 100644
--- a/tcejdb/ejdb.c
+++ b/tcejdb/ejdb.c
@@ -2593,6 +2593,9 @@ static bool _pushprocessedbson(EJDB *jb, EJQ *q, TCLIST *res, TCMAP *dfields, TC
if (_ifields != ifields) {
tcmapdel(_ifields);
}
+ if (_fkfields) {
+ tcmapdel(_fkfields);
+ }
}
if (rv) {