Bug#462630: Proper patch.
Tags: patch
Hi,
Please see attached a proper diff for multi-aterm.
It was taken from the directory containing the src directory.
Sorry if I took the patch wrong, you should be able to see what I mean
by reading the file.
Thanks,
James Stanley
--- src/main.c.old 2004-09-03 19:49:36.000000000 +0100
+++ src/main.c 2009-05-04 14:50:42.000000000 +0100
@@ -493,6 +493,9 @@
XFreeGC(Xdisplay,TermWin.vts[page].gc);
free(TermWin.vts[page].tab_title);
+ /* prevent a crash when append_page frees the title */
+ TermWin.vts[page].tab_title = NULL;
+
//
for(i=page; i < TermWin.last_page; i++) {
TermWin.vts[i].vt = TermWin.vts[i+1].vt;
Reply to: