about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog2
-rw-r--r--Src/exec.c1
2 files changed, 2 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 9f891ef68..2839b1732 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,7 @@
 2008-09-22  Clint Adams  <clint@zsh.org>
 
+	* 25721: Src/exec.c: revert another mistake of 25701.
+
 	* Jörg Sommer: 25718: Completion/Unix/Command/_git: add completion
 	of option --reverse.
 
diff --git a/Src/exec.c b/Src/exec.c
index 3ae52dd9c..ad6f9955d 100644
--- a/Src/exec.c
+++ b/Src/exec.c
@@ -4134,7 +4134,6 @@ loadautofn(Shfunc shf, int fksh, int autol)
 	zwarn("%s: function definition file not found", shf->node.nam);
 	locallevel++;
 	popheap();
-	zsfree(fname);
 	return NULL;
     }
     if (!prog) {