Blame SOURCES/audit-2.8.6-memleak.patch

6bfa6d
diff --git a/auparse/auparse.c b/auparse/auparse.c
6bfa6d
index 650db02..fe0feb1 100644
6bfa6d
--- a/auparse/auparse.c
6bfa6d
+++ b/auparse/auparse.c
6bfa6d
@@ -259,15 +259,6 @@ static event_list_t *au_get_ready_event(auparse_state_t *au, int is_test)
6bfa6d
 	if (lowest && lowest->status == EBS_COMPLETE) {
6bfa6d
 		lowest->status = EBS_EMPTY;
6bfa6d
 		au->au_ready--;
6bfa6d
-		// Try to consolidate the array so that we iterate
6bfa6d
-		// over a smaller portion next time
6bfa6d
-		if (lowest == &lol->array[lol->maxi]) {
6bfa6d
-			au_lolnode *ptr = lowest;
6bfa6d
-			while (ptr->status == EBS_EMPTY && lol->maxi > 0) {
6bfa6d
-				lol->maxi--;
6bfa6d
-				ptr = &lol->array[lol->maxi];
6bfa6d
-			}
6bfa6d
-		}
6bfa6d
 		return lowest->l;
6bfa6d
 	}
6bfa6d