public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Panu Matilainen <pmatilai@redhat.com>
To: git-commits@fedoraproject.org
Subject: [rpms/popt] pmatilai-v6: Restore the memleak fix now that authselect should be fixed
Date: Mon, 23 Nov 2026 09:56:32 GMT [thread overview]
Message-ID: <179542779294.1.15111369395409824746.rpms-popt-fbeebe164f8c@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/popt
Branch : pmatilai-v6
Commit : fbeebe164f8c1332afc7f40fc81be0a6dc22d2cb
Author : Panu Matilainen <pmatilai@redhat.com>
Date : 2022-08-24T09:33:53+03:00
Stats : +4/-39 in 2 file(s)
URL : https://src.fedoraproject.org/rpms/popt/c/fbeebe164f8c1332afc7f40fc81be0a6dc22d2cb?branch=pmatilai-v6
Log:
Restore the memleak fix now that authselect should be fixed
---
diff --git a/0001-Revert-Fix-memory-leak-regressions-in-popt-1.18.patch b/0001-Revert-Fix-memory-leak-regressions-in-popt-1.18.patch
deleted file mode 100644
index 4924e98..0000000
--- a/0001-Revert-Fix-memory-leak-regressions-in-popt-1.18.patch
+++ /dev/null
@@ -1,37 +0,0 @@
-From b6df9380443ddcb7b3c0b5f8c0dcfbf97893b621 Mon Sep 17 00:00:00 2001
-Message-Id: <b6df9380443ddcb7b3c0b5f8c0dcfbf97893b621.1656418954.git.pmatilai@redhat.com>
-From: Panu Matilainen <pmatilai@redhat.com>
-Date: Thu, 23 Jun 2022 11:49:58 +0300
-Subject: [PATCH] Revert "Fix memory leak regressions in popt 1.18"
-
-This reverts commit 7182e4618ad5a0186145fc2aa4a98c2229afdfa8.
----
- src/popt.c | 5 +----
- 1 file changed, 1 insertion(+), 4 deletions(-)
-
-diff --git a/src/popt.c b/src/popt.c
-index f3f26a3..0521c8d 100644
---- a/src/popt.c
-+++ b/src/popt.c
-@@ -216,9 +216,6 @@ void poptResetContext(poptContext con)
- else
- con->os->next = 0;
-
-- for (i = 0; i < con->numLeftovers; i++) {
-- con->leftovers[i] = _free(con->leftovers[i]);
-- }
- con->numLeftovers = 0;
- con->nextLeftover = 0;
- con->restLeftover = 0;
-@@ -1537,7 +1534,7 @@ poptContext poptFreeContext(poptContext con)
- con->numExecs = 0;
-
- for (i = 0; i < con->numLeftovers; i++) {
-- con->leftovers[i] = _free(con->leftovers[i]);
-+ con->leftovers[i] = _free(&con->leftovers[i]);
- }
- con->leftovers = _free(con->leftovers);
-
---
-2.36.1
-
diff --git a/popt.spec b/popt.spec
index 944c0bc..98df42e 100644
--- a/popt.spec
+++ b/popt.spec
@@ -6,11 +6,10 @@
Summary: C library for parsing command line parameters
Name: popt
Version: %{ver}%{?snap:~%{snap}}
-Release: 3%{?dist}
+Release: 4%{?dist}
License: MIT
URL: https://github.com/rpm-software-management/popt/
Source0: http://ftp.rpm.org/popt/releases/popt-1.x/%{name}-%{srcver}.tar.gz
-Patch0: 0001-Revert-Fix-memory-leak-regressions-in-popt-1.18.patch
BuildRequires: gcc
BuildRequires: gettext
BuildRequires: make
@@ -80,6 +79,9 @@ make check || (cat tests/*.log; exit 1)
%endif
%changelog
+* Wed Aug 24 2022 Panu Matilainen <pmatilai@redhat.com> - 1.19~rc1-4
+- Restore the memleak fix now that authselect should be fixed
+
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.19~rc1-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
reply other threads:[~2026-11-23 9:56 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=179542779294.1.15111369395409824746.rpms-popt-fbeebe164f8c@fedoraproject.org \
--to=pmatilai@redhat.com \
--cc=git-commits@fedoraproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox