]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commit
xfsprogs: fix buffer leak in xlog_print_find_oldest
authorEric Sandeen <sandeen@redhat.com>
Thu, 1 Aug 2013 01:42:58 +0000 (01:42 +0000)
committerMark Tinguely <tinguely@eagdhcp-232-140.americas.sgi.com>
Fri, 9 Aug 2013 13:23:47 +0000 (08:23 -0500)
commita134873e2903837bdbeab261b6d0ceee2fd499ba
treef13b112ac40023b163f83ff6d32b941f8df24ad5
parent504dbe46549d462e79565514d86ce69b74b96893
xfsprogs: fix buffer leak in xlog_print_find_oldest

The error path in this function did not free the buffer
before returning.

Coverity found this one.

Signed-off-by: Eric Sandeen <sandeen@redhat.com>
Reviewed-by: Mark Tinguely <tinguely@sgi.com>
logprint/log_print_all.c