New upstream git snapshot prerelease which fixes a memory leak
This commit is contained in:
parent
9c3bc335fb
commit
d9a0e1fc28
@ -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;
|
|
||||||
}
|
|
||||||
|
|
@ -8,7 +8,6 @@ License: GPLv2+
|
|||||||
URL: http://people.redhat.com/sgrubb/audit/
|
URL: http://people.redhat.com/sgrubb/audit/
|
||||||
Source0: http://people.redhat.com/sgrubb/audit/%{name}-%{version}-alpha7.tar.gz
|
Source0: http://people.redhat.com/sgrubb/audit/%{name}-%{version}-alpha7.tar.gz
|
||||||
Source1: https://www.gnu.org/licenses/lgpl-2.1.txt
|
Source1: https://www.gnu.org/licenses/lgpl-2.1.txt
|
||||||
Patch1: audit-2.8.6-memleak.patch
|
|
||||||
|
|
||||||
BuildRequires: gcc swig
|
BuildRequires: gcc swig
|
||||||
BuildRequires: openldap-devel
|
BuildRequires: openldap-devel
|
||||||
@ -99,7 +98,6 @@ Management Facility) database, through an IBM Tivoli Directory Server
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
%patch1 -p1
|
|
||||||
cp %{SOURCE1} .
|
cp %{SOURCE1} .
|
||||||
|
|
||||||
%build
|
%build
|
||||||
|
Loading…
Reference in New Issue
Block a user