changeset 60900:e2f52fa7f394

(Ffile_attributes): Add a missing gcpro.
author Stefan Monnier <monnier@iro.umontreal.ca>
date Thu, 24 Mar 2005 22:06:36 +0000
parents 078c75277102
children 40ec34686eeb
files src/dired.c
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/dired.c	Thu Mar 24 21:24:09 2005 +0000
+++ b/src/dired.c	Thu Mar 24 22:06:36 2005 +0000
@@ -906,6 +906,7 @@
 #endif
   char modes[10];
   Lisp_Object handler;
+  struct gcpro gcpro1;
 
   filename = Fexpand_file_name (filename, Qnil);
 
@@ -921,7 +922,9 @@
 	return call3 (handler, Qfile_attributes, filename, id_format);
     }
 
+  GCPRO1 (filename);
   encoded = ENCODE_FILE (filename);
+  UNGCPRO;
 
   if (lstat (SDATA (encoded), &s) < 0)
     return Qnil;