]> granicus.if.org Git - sysstat/commit
Fix ressource leak in sa_conv.c
authorSebastien GODARD <sysstat@users.noreply.github.com>
Mon, 13 Jul 2015 14:08:17 +0000 (16:08 +0200)
committerSebastien GODARD <sysstat@users.noreply.github.com>
Mon, 13 Jul 2015 14:11:05 +0000 (16:11 +0200)
commit99c1cd509741e5ca0a9265f964664b50f50b40ab
treebd4a36b6f630b51e165e44f4517c470a0464147b
parent75277acfe98b2fc41cab1fd363886eaebbc131e1
Fix ressource leak in sa_conv.c

The program could exit without freeing variable buffer. Yet this
variable could have been allocated on a previous iteration in the loop.
So free it before leaving.

CID #101316.

Signed-off-by: Sebastien GODARD <sysstat@users.noreply.github.com>
sa_conv.c