]> the.earth.li Git - onak.git/commit
Fix potential memory leak in wotsap tool
authorJonathan McDowell <noodles@earth.li>
Wed, 31 Jul 2019 19:49:30 +0000 (20:49 +0100)
committerJonathan McDowell <noodles@earth.li>
Wed, 31 Jul 2019 19:49:30 +0000 (20:49 +0100)
commitd1b4ba940d6bed575b40ac1026514c0b97d5128b
treebf3d07a47fa67a69f7e2009b1e6932b496502397
parenta26c8e732ad4044b86c84924afce0c36bbc9f59a
Fix potential memory leak in wotsap tool

In failure paths we can leak the memory allocated to hold the directory
path. This isn't really a problem, as we'll exit shortly afterwards, but
scan-build complains and we should really fix for completeness.
wotsap.c