Projects
Mega:24.09
audit
_service:tar_scm:backport-fix-one-more-leak.patch
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:tar_scm:backport-fix-one-more-leak.patch of Package audit
From 613ccbdd1011692c6724a11cc8798112dd26d202 Mon Sep 17 00:00:00 2001 From: Steve Grubb <ausearch.1@gmail.com> Date: Tue, 21 May 2024 13:17:38 -0400 Subject: [PATCH] fix one more leak Conflict:NA Reference:https://github.com/linux-audit/audit-userspace/commit/613ccbdd1011692c6724a11cc8798112dd26d202 --- src/ausearch-lol.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/ausearch-lol.c b/src/ausearch-lol.c index 784c58f6..d156ce42 100644 --- a/src/ausearch-lol.c +++ b/src/ausearch-lol.c @@ -371,7 +371,9 @@ int lol_add_record(lol *lo, char *buff) l = malloc(sizeof(llist)); if (l == NULL) { free((char *)e.node); - fprintf(stderr, "Out of memory. Check %s file, %d line", __FILE__, __LINE__); + free(n.message); + fprintf(stderr, "Out of memory. Check %s file, %d line", + __FILE__, __LINE__); return 0; } list_create(l); -- 2.33.0
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.
浙ICP备2022010568号-2