bug-grub
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug #35674] [PATCH] grub_normal_free_menu() has a memory leak


From: Andreas Vogel
Subject: [bug #35674] [PATCH] grub_normal_free_menu() has a memory leak
Date: Fri, 02 Mar 2012 14:28:24 +0000
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.1) Gecko/20090715 Firefox/3.5.1

Follow-up Comment #1, bug #35674 (project grub):

Please find attached an updated version of the patch which fixes the memory
leak when calling grub_normal_free_menu().

The variables title, users and sourcecode in the struct grub_menu_entry are
defined as 'const char *' but are in fact variables holding dynamically
allocated memory.

I forgot to include this correction in my first patch.

Andreas

(file #25245)
    _______________________________________________________

Additional Item Attachment:

File name: grub-bzr_free-menu-memory-leak_v2.patch Size:2 KB


    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?35674>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]