commit | e5158ca496ea90a273fb8eeec098a7f0e60671ff | [log] [tgz] |
---|---|---|
author | Edward Hervey <bilboed@bilboed.com> | Thu Dec 01 17:08:09 2016 +0100 |
committer | Edward Hervey <bilboed@bilboed.com> | Fri Dec 02 09:01:57 2016 +0100 |
tree | 44df788de1500edf7f4faee1fc1cb4e3da47f3b8 | |
parent | 50bb6630f52cee37c46f500e4a87d8802c73f30c [diff] |
jitterbuffer: Don't leak duplicate items When providing items with a seqnum, there is a (very small) probability that an element with the same seqnum already exists. Don't forget to free that item if it wasn't inserted. And avoid returning undefined values when dealing with duplicate items