mirror of
https://git.savannah.gnu.org/git/grub.git
synced 2026-10-21 14:59:34 +00:00
* grub-core/fs/fshelp.c (grub_fshelp_find_file): Don't free oldnode if
it's equal to currnode. This can happen with "" symlink.
This commit is contained in:
1 parent
5e6a440ad7
commit
c59bdff709
2 files changed
+6
No files matched your search
@@ -1,3 +1,8 @@
|
|||||||
|
2012-06-27 Vladimir Serbinenko <phcoder@gmail.com>
|
||||||
|
|
||||||
|
* grub-core/fs/fshelp.c (grub_fshelp_find_file): Don't free oldnode if
|
||||||
|
it's equal to currnode. This can happen with "" symlink.
|
||||||
|
|
||||||
2012-06-27 Yves Blusseau <blusseau@zetam.org>
|
2012-06-27 Yves Blusseau <blusseau@zetam.org>
|
||||||
|
|
||||||
* util/grub-mkconfig_lib.in: Fix print messages replacing builtin
|
* util/grub-mkconfig_lib.in: Fix print messages replacing builtin
|
||||||
|
|||||||
@@ -189,6 +189,7 @@ grub_fshelp_find_file (const char *path, grub_fshelp_node_t rootnode,
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (oldnode != currnode)
|
||||||
free_node (oldnode);
|
free_node (oldnode);
|
||||||
|
|
||||||
/* Found the node! */
|
/* Found the node! */
|
||||||
|
|||||||
Reference in new issue
Block a user