]> git.ipfire.org Git - thirdparty/grub.git/commit
tftp: fix memory leaks in open
authorAndrei Borzenkov <arvidjaar@gmail.com>
Sat, 16 Jan 2016 18:27:57 +0000 (21:27 +0300)
committerAndrei Borzenkov <arvidjaar@gmail.com>
Sat, 16 Jan 2016 18:27:57 +0000 (21:27 +0300)
commit77002c65d3532384682dd1ac861f4349089c5704
tree8383e432b9d3d80f1d44b48f42adce85b63aa81d
parentd4561cd080b6511e62bfbf27f443262fd7a5e5be
tftp: fix memory leaks in open

If protocol open fails, file is immediately freed, so data was leaked.

Found by: Coverity scan.
CID: 96659
grub-core/net/tftp.c