]> git.ipfire.org Git - thirdparty/knot-resolver.git/commit
rplan: fix a coverity warning (CID 164834)
authorVladimír Čunát <vladimir.cunat@nic.cz>
Fri, 30 Jun 2017 06:48:59 +0000 (08:48 +0200)
committerVladimír Čunát <vladimir.cunat@nic.cz>
Fri, 30 Jun 2017 06:51:22 +0000 (08:51 +0200)
commit1ce9976e9f925162fae79e86269318c487be01ee
tree18a669a6652b182bdf7c653ae3d651fde0ce8613
parente19ff84f01efec5f7acaf1d88f7a402c1af08d02
rplan: fix a coverity warning (CID 164834)

There would be no real resource leak, as the memory is on a mempool,
so the lifetime is limited by kr_request finishing.  Also, it's only
on an unlikely error branch, but still...
lib/rplan.c