diff options
Diffstat (limited to 'src')
-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); |