Files
ccze/memory-leak.patch
Ana Guerrero 2b984bf921 - GitHub repository have been removed:
* switch to upstream's archived repository as homepage.
  * do not download tarball from GitHub
- Add directly patches from Debian that aren't applid already,
  they include PCRE2 porting:
  * fix_passing_LDFLAGS_for_ccze-cssdump.patch
  * fix_capitalization_typo.patch
  * fix-national-encoding.patch
  * cross.patch
  * pcre2.patch
  * memory-leak.patch
  * uninitialised-value.patch
- Switch to PCRE2
- Only run updated tests
- Spec cleanup

OBS-URL: https://build.opensuse.org/package/show/utilities/ccze?expand=0&rev=7
2025-03-27 15:30:30 +00:00

19 lines
345 B
Diff

Description: Fix a memory leak.
Author: Yavor Doganov <yavor@gnu.org>
Forwarded: no
Last-Update: 2023-12-06
---
--- ccze.orig/src/ccze.c
+++ ccze/src/ccze.c
@@ -731,6 +731,9 @@
if (ccze_config.mode == CCZE_MODE_CURSES)
refresh ();
+
+ free (subject);
+ subject = NULL;
}
if (ccze_config.mode == CCZE_MODE_CURSES)