aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--emulators/twin/files/patch-tools_rc_cleanup.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/emulators/twin/files/patch-tools_rc_cleanup.c b/emulators/twin/files/patch-tools_rc_cleanup.c
new file mode 100644
index 000000000000..ad7edbb1d943
--- /dev/null
+++ b/emulators/twin/files/patch-tools_rc_cleanup.c
@@ -0,0 +1,13 @@
+adding following patch fixes problem
+
+--- ./tools/rc/cleanup.c.orig Sun Mar 14 13:58:51 1999
++++ ./tools/rc/cleanup.c Mon Jun 19 07:44:21 2006
+@@ -76,7 +76,7 @@
+ free_menu_list(node->child);
+ str_free(node->data.menuname);
+ free_mem(node);
+- node = node->next;
++ node = next;
+ }
+ }
+