diff options
author | Tyutyunkov Vyacheslav <tve@softmotions.com> | 2015-07-13 18:10:49 +0600 |
---|---|---|
committer | Tyutyunkov Vyacheslav <tve@softmotions.com> | 2015-07-13 18:10:49 +0600 |
commit | 161e67aeefdbfff815eab9e3fe95de7c14fd1e27 (patch) | |
tree | 0a88dd6b838c25cc2a57b7a791b1f0b8bdca81bc | |
parent | 7ef6da08a906f4dd0a4e750d342e05d59d59a4d6 (diff) | |
download | ejdb-161e67aeefdbfff815eab9e3fe95de7c14fd1e27.tar.gz ejdb-161e67aeefdbfff815eab9e3fe95de7c14fd1e27.tar.bz2 ejdb-161e67aeefdbfff815eab9e3fe95de7c14fd1e27.zip |
#148 - memory leak fixes
-rw-r--r-- | src/bson/bson.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/bson/bson.c b/src/bson/bson.c index 6e9feef..1fa3c77 100644 --- a/src/bson/bson.c +++ b/src/bson/bson.c @@ -1860,6 +1860,7 @@ static void _bson_fix_duplicate_keys(bson_iterator *it, bson *bso) { } else { bson_append_field_from_iterator(&it2, bso); } + tclistclear(dups); tclistdel(dups); } tcmapdel(keys); |