]> git.ipfire.org Git - thirdparty/grub.git/commit
Remove the variable oldname which is attempting to free stack space.
authorAaron Luft <aluft@lifesize.com>
Mon, 14 Mar 2016 20:48:33 +0000 (16:48 -0400)
committerAndrei Borzenkov <arvidjaar@gmail.com>
Tue, 15 Mar 2016 19:04:38 +0000 (22:04 +0300)
commit76eac44af37358fb14f437a7878119e6d34e8d7f
treec79a72c16b94680fa3d4984eeb0a1df564909125
parentee83919e938e7987c2753b3003a2074e92edf671
Remove the variable oldname which is attempting to free stack space.

Historically this variable hold previous value of filename that
had to be freed if allocated previously. Currently this branch
is entered only if filename was not allocated previously so it
became redundant. It did not cause real problems because grub_free
was not called, but code is confusing and causes compilation error
in some cases.
grub-core/fs/iso9660.c