]> git.pld-linux.org Git - packages/texinfo.git/blame - texinfo-free.patch
- massive attack, adding Source-md5
[packages/texinfo.git] / texinfo-free.patch
CommitLineData
6d8c2239
AM
1diff -urN texinfo-4.5.org/makeinfo/index.c texinfo-4.5/makeinfo/index.c
2--- texinfo-4.5.org/makeinfo/index.c Sun Feb 16 19:00:50 2003
3+++ texinfo-4.5/makeinfo/index.c Sun Feb 16 19:01:33 2003
4@@ -342,9 +342,14 @@
5 here; otherwise, when we try to define the pg index again
6 just below, it will still point to cp. */
7 undefindex (name_index_alist[i]->name);
8- free (name_index_alist[i]->name);
9- free (name_index_alist[i]);
10- name_index_alist[i] = NULL;
11+
12+ /* undefindex sets all this to null in some cases. */
13+ if (name_index_alist[i])
14+ {
15+ free (name_index_alist[i]->name);
16+ free (name_index_alist[i]);
17+ name_index_alist[i] = NULL;
18+ }
19 }
20 }
21
This page took 0.049809 seconds and 4 git commands to generate.