From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1UDWaQ-0003jf-0e for mharc-grub-devel@gnu.org; Thu, 07 Mar 2013 03:54:02 -0500 Received: from eggs.gnu.org ([208.118.235.92]:54660) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UDWaN-0003jK-DM for grub-devel@gnu.org; Thu, 07 Mar 2013 03:54:00 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UDWaL-00067A-GO for grub-devel@gnu.org; Thu, 07 Mar 2013 03:53:59 -0500 Received: from collab.rosalab.ru ([217.199.216.181]:48673) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UDWaL-00066R-8t for grub-devel@gnu.org; Thu, 07 Mar 2013 03:53:57 -0500 Received: from localhost (localhost.localdomain [127.0.0.1]) by collab.rosalab.ru (Postfix) with ESMTP id 861E129C2F3 for ; Thu, 7 Mar 2013 12:53:55 +0400 (MSK) X-Virus-Scanned: amavisd-new at rosalab.ru Received: from collab.rosalab.ru ([127.0.0.1]) by localhost (collab.rosalab.ru [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id S59Fgqz2O8fh for ; Thu, 7 Mar 2013 12:53:55 +0400 (MSK) Received: from icedphoenix.localnet (unknown [10.168.1.56]) by collab.rosalab.ru (Postfix) with ESMTPSA id 05A0129C29E for ; Thu, 7 Mar 2013 12:53:54 +0400 (MSK) From: Vladimir Testov To: grub-devel@gnu.org Subject: [PATCH] missed grub_free in icon_manager Date: Thu, 07 Mar 2013 12:53:54 +0400 Message-ID: <1572194.u8tUiaEOFG@icedphoenix> User-Agent: KMail/4.9.4 (Linux/3.5.0-23-generic; KDE/4.9.4; x86_64; ; ) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="nextPart1601675.b6dBsFxfB9" Content-Transfer-Encoding: 7Bit X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 217.199.216.181 X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: The development of GNU GRUB List-Id: The development of GNU GRUB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 07 Mar 2013 08:54:00 -0000 This is a multi-part message in MIME format. --nextPart1601675.b6dBsFxfB9 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Missed grub_free in gfxmenu/icon_manager.c If I'm not mistaken, it should be there. -- With best regards, _______________________________ Vladimir Testov, ROSA Laboratory. www.rosalab.ru --nextPart1601675.b6dBsFxfB9 Content-Disposition: attachment; filename="grub-2.00-missed-grub-free.patch" Content-Transfer-Encoding: 7Bit Content-Type: text/x-patch; charset="UTF-8"; name="grub-2.00-missed-grub-free.patch" diff -Naur grub-2.00/grub-core/gfxmenu/icon_manager.c grub-new/grub-core/gfxmenu/icon_manager.c --- grub-2.00/grub-core/gfxmenu/icon_manager.c 2012-02-08 16:41:41.000000000 +0400 +++ grub-new/grub-core/gfxmenu/icon_manager.c 2013-03-07 12:50:15.805798204 +0400 @@ -213,6 +213,7 @@ icondir = grub_env_get ("icondir"); if (icondir) icon = try_loading_icon (mgr, icondir, class_name); + grub_free(icondir); } /* No icon was found. */ --nextPart1601675.b6dBsFxfB9--