]> git.proxmox.com Git - grub2.git/commitdiff
lib/syslinux_parse: Fix memory leak.
authorVladimir Serbinenko <phcoder@gmail.com>
Mon, 26 Jan 2015 08:41:24 +0000 (09:41 +0100)
committerVladimir Serbinenko <phcoder@gmail.com>
Mon, 26 Jan 2015 08:41:43 +0000 (09:41 +0100)
Found by: Coveriy scan.

grub-core/lib/syslinux_parse.c

index 2f1f1a5a2b22b288ae5129577b44d13afa93ae51..1927c4fdab2987cab76d5d5e977acce9fc346f91 100644 (file)
@@ -684,6 +684,7 @@ helptext (const char *line, grub_file_t file, struct syslinux_menu *menu)
     }
 
   grub_free (buf);
+  grub_free (help);
   return grub_errno;
 }