Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 2 Apr 1998 03:09:08 +0200
From:      Eivind Eklund <eivind@yes.no>
To:        "Kenneth P. Stox" <ken@stox.sa.enteract.com>, Alex Povolotsky <tarkhil@asteroid.svib.ru>
Cc:        hackers@FreeBSD.ORG
Subject:   Re: Mozilla and LessTif
Message-ID:  <19980402030908.62016@follo.net>
In-Reply-To: <Pine.BSF.3.96.980401174749.14548K-100000@m4.stox.sa.enteract.com>; from Kenneth P. Stox on Wed, Apr 01, 1998 at 05:51:29PM -0600
References:  <199804011801.WAA14732@minas-tirith.pol.ru> <Pine.BSF.3.96.980401174749.14548K-100000@m4.stox.sa.enteract.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Apr 01, 1998 at 05:51:29PM -0600, Kenneth P. Stox wrote:
> 
> Well, I've gotten far enough to bring up the first screen, then it locks
> up. :-( I'm using 3.0-current, lesstif 0.83, and Eilvind's port.

That's apparently due to a bad free in Lesstif.  Here's a patch (From
Dan McGuirk <mcguirk@indirect.com>, originally posted to
mozilla-general):

Index: lib/Xm/FontList.c
===================================================================
RCS file: /usr/local/cvsroot/lesstif/lib/Xm/FontList.c,v
retrieving revision 1.1.1.1
diff -u -r1.1.1.1 FontList.c
--- FontList.c	1998/03/31 21:39:14	1.1.1.1
+++ FontList.c	1998/04/01 00:54:55
@@ -211,7 +211,7 @@
     if (entry)
     {
 	XtFree((*entry)->tag);
-	XtFree((XtPointer)entry);
+	XtFree((XtPointer)*entry);
 
 	/* should we close the Font? */
     }


Eivind.

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19980402030908.62016>