aboutsummaryrefslogtreecommitdiff
path: root/editors/aewan/files
diff options
context:
space:
mode:
Diffstat (limited to 'editors/aewan/files')
-rw-r--r--editors/aewan/files/patch-aeff.c16
1 files changed, 16 insertions, 0 deletions
diff --git a/editors/aewan/files/patch-aeff.c b/editors/aewan/files/patch-aeff.c
new file mode 100644
index 000000000000..0eb24d80994a
--- /dev/null
+++ b/editors/aewan/files/patch-aeff.c
@@ -0,0 +1,16 @@
+--- aeff.c.orig Wed Aug 11 10:04:50 2004
++++ aeff.c Thu Sep 2 23:56:24 2004
+@@ -187,11 +187,12 @@
+ static bool aeff_read_mark(AeFile *f, const char *mark_name, char pref) {
+ char *line;
+ char *s;
+- zfree(&err_string);
+
+ autod_begin;
+ autod_register(line, free);
+
++ zfree(&err_string);
++
+ autod_assign(line, freadline_ex(f->f, gzgetc));
+
+ /* if EOF was reached before anything could be read, something is wrong */