aboutsummaryrefslogtreecommitdiffstats
path: root/lib-src
diff options
context:
space:
mode:
authorMiles Bader2006-05-10 20:42:41 +0000
committerMiles Bader2006-05-10 20:42:41 +0000
commit3bcf2b084a0dd1ff0399480d57b87e01cfe061dc (patch)
tree355c68cda5a5c9c73824840df3cdae6320017283 /lib-src
parent0ea38cf9dca8f2b148d78f638eed17e8896984af (diff)
parentd105bfecce2288cd99f591382586a22a4ce1b6f2 (diff)
downloademacs-3bcf2b084a0dd1ff0399480d57b87e01cfe061dc.tar.gz
emacs-3bcf2b084a0dd1ff0399480d57b87e01cfe061dc.zip
Revision: emacs@sv.gnu.org/emacs--unicode--0--patch-60
Merge from emacs--devo--0 Patches applied: * emacs--devo--0 (patch 259-273) - Update from CVS - lisp/replace.el (occur-engine): Bind `inhibit-field-text-motion' to t - Merge from gnus--rel--5.10 - Rename "field-at-point" to "field-at-pos" - (comint-insert-input): Remove redundant calls to setq and goto-char * gnus--rel--5.10 (patch 99-100) - Merge from emacs--devo--0 - Update from CVS
Diffstat (limited to 'lib-src')
-rw-r--r--lib-src/ChangeLog6
-rw-r--r--lib-src/etags.c13
2 files changed, 17 insertions, 2 deletions
diff --git a/lib-src/ChangeLog b/lib-src/ChangeLog
index 115e43c2d03..2e8581a6f57 100644
--- a/lib-src/ChangeLog
+++ b/lib-src/ChangeLog
@@ -1,3 +1,9 @@
12006-05-02 Francesco Potort,Al(B <pot@gnu.org>
2
3 * etags.c (Perl_functions): Free space allocated for var package.
4 (Erlang_functions): Possibly free space allocated for var last.
5 (Prolog_functions): Possibly free space allocated for var last.
6
12006-04-29 Dan Nicolaescu <dann@ics.uci.edu> 72006-04-29 Dan Nicolaescu <dann@ics.uci.edu>
2 8
3 * sorted-doc.c (main): Initialize docs to NULL. 9 * sorted-doc.c (main): Initialize docs to NULL.
diff --git a/lib-src/etags.c b/lib-src/etags.c
index a7c98f090bb..e206443f39b 100644
--- a/lib-src/etags.c
+++ b/lib-src/etags.c
@@ -41,7 +41,7 @@
41 * configuration file containing regexp definitions for etags. 41 * configuration file containing regexp definitions for etags.
42 */ 42 */
43 43
44char pot_etags_version[] = "@(#) pot revision number is 17.15"; 44char pot_etags_version[] = "@(#) pot revision number is 17.17";
45 45
46#define TRUE 1 46#define TRUE 1
47#define FALSE 0 47#define FALSE 0
@@ -4543,6 +4543,7 @@ Perl_functions (inf)
4543 lb.buffer, cp - lb.buffer + 1, lineno, linecharno); 4543 lb.buffer, cp - lb.buffer + 1, lineno, linecharno);
4544 } 4544 }
4545 } 4545 }
4546 free (package);
4546} 4547}
4547 4548
4548 4549
@@ -5441,6 +5442,8 @@ Prolog_functions (inf)
5441 last[len] = '\0'; 5442 last[len] = '\0';
5442 } 5443 }
5443 } 5444 }
5445 if (last != NULL)
5446 free (last);
5444} 5447}
5445 5448
5446 5449
@@ -5597,7 +5600,11 @@ Erlang_functions (inf)
5597 else if (cp[0] == '-') /* attribute, e.g. "-define" */ 5600 else if (cp[0] == '-') /* attribute, e.g. "-define" */
5598 { 5601 {
5599 erlang_attribute (cp); 5602 erlang_attribute (cp);
5600 last = NULL; 5603 if (last != NULL)
5604 {
5605 free (last);
5606 last = NULL;
5607 }
5601 } 5608 }
5602 else if ((len = erlang_func (cp, last)) > 0) 5609 else if ((len = erlang_func (cp, last)) > 0)
5603 { 5610 {
@@ -5614,6 +5621,8 @@ Erlang_functions (inf)
5614 last[len] = '\0'; 5621 last[len] = '\0';
5615 } 5622 }
5616 } 5623 }
5624 if (last != NULL)
5625 free (last);
5617} 5626}
5618 5627
5619 5628