]> the.earth.li Git - onak.git/commit
Fix memory leak when updating keys
authorJonathan McDowell <noodles@earth.li>
Sun, 18 Aug 2019 18:30:06 +0000 (19:30 +0100)
committerJonathan McDowell <noodles@earth.li>
Sun, 18 Aug 2019 18:30:06 +0000 (19:30 +0100)
commitf869498b2b159bd3d363fb2f9d803b99c44de8bc
treee3effd14ce7333b89994c1c95d75cebb15fba817
parenta8c0920cce727a12697154a85896f2a3ba47eb75
Fix memory leak when updating keys

If the first new key had no new components we'd remove it from the list
but not actually free it. Fix things up so we free it properly. Found
with gcc's -fsanitize=leak option.
keydb.c
onak.c