changeset 64318:a64663d06985

(syms_of_search): Staticpro searchbuf.whitespace_regexp.
author Kim F. Storm <storm@cua.dk>
date Thu, 14 Jul 2005 11:24:08 +0000
parents f69dd5d2d72d
children 6ba9b52e77fc
files src/search.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/search.c	Thu Jul 14 11:24:00 2005 +0000
+++ b/src/search.c	Thu Jul 14 11:24:08 2005 +0000
@@ -3085,6 +3085,7 @@
       searchbufs[i].regexp = Qnil;
       searchbufs[i].whitespace_regexp = Qnil;
       staticpro (&searchbufs[i].regexp);
+      staticpro (&searchbufs[i].whitespace_regexp);
       searchbufs[i].next = (i == REGEXP_CACHE_SIZE-1 ? 0 : &searchbufs[i+1]);
     }
   searchbuf_head = &searchbufs[0];