projects
/
platform
/
upstream
/
ejdb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7ef6da0
)
#148 - memory leak fixes
author
Tyutyunkov Vyacheslav
<tve@softmotions.com>
Mon, 13 Jul 2015 12:10:49 +0000
(18:10 +0600)
committer
Tyutyunkov Vyacheslav
<tve@softmotions.com>
Mon, 13 Jul 2015 12:10:49 +0000
(18:10 +0600)
src/bson/bson.c
patch
|
blob
|
history
diff --git
a/src/bson/bson.c
b/src/bson/bson.c
index
6e9feef
..
1fa3c77
100644
(file)
--- 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);