Dirk Mueller
0b6933a846
sed 4.7 OBS-URL: https://build.opensuse.org/request/show/660583 OBS-URL: https://build.opensuse.org/package/show/Base:System/sed?expand=0&rev=36
17 lines
491 B
Diff
17 lines
491 B
Diff
http://lists.gnu.org/archive/html/bug-gnu-utils/2014-06/msg00000.html
|
|
|
|
Index: sed-4.6/sed/utils.c
|
|
===================================================================
|
|
--- sed-4.6.orig/sed/utils.c
|
|
+++ sed-4.6/sed/utils.c
|
|
@@ -267,8 +267,8 @@ ck_fclose (FILE *stream)
|
|
{
|
|
if (!stream || stream == cur->fp)
|
|
{
|
|
- do_ck_fclose (cur->fp);
|
|
prev->link = cur->link;
|
|
+ do_ck_fclose (cur->fp);
|
|
free (cur->name);
|
|
free (cur);
|
|
}
|