From d9a0e1fc28b0c214aaa2ef747e043df729d100e6 Mon Sep 17 00:00:00 2001 From: Steve Grubb Date: Tue, 26 Mar 2019 18:30:54 -0400 Subject: [PATCH] New upstream git snapshot prerelease which fixes a memory leak --- audit-2.8.6-memleak.patch | 20 -------------------- audit.spec | 2 -- 2 files changed, 22 deletions(-) delete mode 100644 audit-2.8.6-memleak.patch diff --git a/audit-2.8.6-memleak.patch b/audit-2.8.6-memleak.patch deleted file mode 100644 index 77a3b40..0000000 --- a/audit-2.8.6-memleak.patch +++ /dev/null @@ -1,20 +0,0 @@ -diff --git a/auparse/auparse.c b/auparse/auparse.c -index 650db02..fe0feb1 100644 ---- a/auparse/auparse.c -+++ b/auparse/auparse.c -@@ -259,15 +259,6 @@ static event_list_t *au_get_ready_event(auparse_state_t *au, int is_test) - if (lowest && lowest->status == EBS_COMPLETE) { - lowest->status = EBS_EMPTY; - au->au_ready--; -- // Try to consolidate the array so that we iterate -- // over a smaller portion next time -- if (lowest == &lol->array[lol->maxi]) { -- au_lolnode *ptr = lowest; -- while (ptr->status == EBS_EMPTY && lol->maxi > 0) { -- lol->maxi--; -- ptr = &lol->array[lol->maxi]; -- } -- } - return lowest->l; - } - diff --git a/audit.spec b/audit.spec index 824768f..97d56a4 100644 --- a/audit.spec +++ b/audit.spec @@ -8,7 +8,6 @@ License: GPLv2+ URL: http://people.redhat.com/sgrubb/audit/ Source0: http://people.redhat.com/sgrubb/audit/%{name}-%{version}-alpha7.tar.gz Source1: https://www.gnu.org/licenses/lgpl-2.1.txt -Patch1: audit-2.8.6-memleak.patch BuildRequires: gcc swig BuildRequires: openldap-devel @@ -99,7 +98,6 @@ Management Facility) database, through an IBM Tivoli Directory Server %prep %setup -q -%patch1 -p1 cp %{SOURCE1} . %build