* 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
19 lines
345 B
Diff
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)
|