diff options
author | Pierre-Alexandre Meyer <pierre@mouraf.org> | 2009-04-19 12:16:38 -0700 |
---|---|---|
committer | Pierre-Alexandre Meyer <pierre@mouraf.org> | 2009-04-19 12:16:38 -0700 |
commit | b3a2e8e00fc68898d000a15acd2a68ed0dc83c33 (patch) | |
tree | 78028f10d0a1675d88b2a73cdd4f422ef7afe64b /com32 | |
parent | 8fe215fbe966605735bee43f6c1fa639a96683da (diff) | |
download | syslinux-b3a2e8e00fc68898d000a15acd2a68ed0dc83c33.tar.gz |
hdt: Remove inappropriate free()
Impact: fix crash
This extra free() is not needed, as the error buffer is already freed in the
loop.
Signed-off-by: Pierre-Alexandre Meyer <pierre@mouraf.org>
Diffstat (limited to 'com32')
-rw-r--r-- | com32/hdt/hdt-common.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/com32/hdt/hdt-common.c b/com32/hdt/hdt-common.c index d4f7cb21..84939844 100644 --- a/com32/hdt/hdt-common.c +++ b/com32/hdt/hdt-common.c @@ -263,7 +263,6 @@ void detect_disks(struct s_hardware *hardware) } hardware->disks_count++; } - free(error_msg); } int detect_pxe(struct s_hardware *hardware) |