write_sensu: fix resource leaks on error
authorRuben Kerkhof <ruben@rubenkerkhof.com>
Sat, 2 Apr 2016 13:53:15 +0000 (15:53 +0200)
committerRuben Kerkhof <ruben@rubenkerkhof.com>
Sat, 2 Apr 2016 14:06:40 +0000 (16:06 +0200)
commit0364c5a4059722fac659565af2d450ae6aace037
tree44d73a9f11933da224334ec8889bf00b9a0704a7
parent4d7bc9c5bfc24bbd56edbb1daa87c76fedc858d0
write_sensu: fix resource leaks on error

Fixes CID #37998
src/write_sensu.c