diff options
author | adam <adamansky@gmail.com> | 2013-08-11 23:01:22 +0700 |
---|---|---|
committer | adam <adamansky@gmail.com> | 2013-08-11 23:01:22 +0700 |
commit | 45bfed4ec45b180d874c41e90d01fd02c7847ee9 (patch) | |
tree | 07009df49bd068ebd49082f8194b7420b64b5c85 /tcejdb | |
parent | d046c40bd1bdf1f7b06b00bdad8519d727e3df07 (diff) | |
download | ejdb-45bfed4ec45b180d874c41e90d01fd02c7847ee9.tar.gz ejdb-45bfed4ec45b180d874c41e90d01fd02c7847ee9.tar.bz2 ejdb-45bfed4ec45b180d874c41e90d01fd02c7847ee9.zip |
#15 memleak fixed
Diffstat (limited to 'tcejdb')
-rw-r--r-- | tcejdb/ejdb.c | 3 |
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) { |