From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 890351381F3 for ; Wed, 11 Sep 2013 06:04:13 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 7CA76E0C29; Wed, 11 Sep 2013 06:04:10 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id CF543E0C2D for ; Wed, 11 Sep 2013 06:04:09 +0000 (UTC) Received: from hornbill.gentoo.org (hornbill.gentoo.org [94.100.119.163]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id E02F733EC22 for ; Wed, 11 Sep 2013 06:04:08 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by hornbill.gentoo.org (Postfix) with ESMTP id EFE1FE5460 for ; Wed, 11 Sep 2013 06:04:06 +0000 (UTC) From: "Sven Eden" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sven Eden" Message-ID: <1378793904.b3bff5c75a7c4b289e627ee4f27cb6856b038968.yamakuzure@gentoo> Subject: [gentoo-commits] proj/ufed:master commit in: / X-VCS-Repository: proj/ufed X-VCS-Files: ufed-curses-types.c X-VCS-Directories: / X-VCS-Committer: yamakuzure X-VCS-Committer-Name: Sven Eden X-VCS-Revision: b3bff5c75a7c4b289e627ee4f27cb6856b038968 X-VCS-Branch: master Date: Wed, 11 Sep 2013 06:04:06 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 82c5a4db-69e9-4ca1-895a-dec2961c18ab X-Archives-Hash: 137da4e6d61f84cb3ef8ed288cae56a8 commit: b3bff5c75a7c4b289e627ee4f27cb6856b038968 Author: Sven Eden gmx net> AuthorDate: Tue Sep 10 06:18:24 2013 +0000 Commit: Sven Eden gmx de> CommitDate: Tue Sep 10 06:18:24 2013 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/ufed.git;a=commit;h=b3bff5c7 The new alternative description line is now freed when a flag gets destroyed. --- ufed-curses-types.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ufed-curses-types.c b/ufed-curses-types.c index b604b6d..7e72967 100644 --- a/ufed-curses-types.c +++ b/ufed-curses-types.c @@ -206,6 +206,8 @@ void destroyFlag (sFlag** root, sFlag** flag) free (xFlag->desc[i].pkg); if (xFlag->desc[i].desc) free (xFlag->desc[i].desc); + if (xFlag->desc[i].desc_alt) + free (xFlag->desc[i].desc_alt); } if (xFlag->desc) free (xFlag->desc);