From owner-freebsd-hackers Wed Apr 1 17:10:48 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id RAA17466 for freebsd-hackers-outgoing; Wed, 1 Apr 1998 17:10:48 -0800 (PST) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from ns1.yes.no (ns1.yes.no [195.119.24.10]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id RAA17460 for ; Wed, 1 Apr 1998 17:10:44 -0800 (PST) (envelope-from eivind@bitbox.follo.net) Received: from bitbox.follo.net (bitbox.follo.net [194.198.43.36]) by ns1.yes.no (8.8.7/8.8.7) with ESMTP id CAA12091; Thu, 2 Apr 1998 02:09:43 GMT Received: (from eivind@localhost) by bitbox.follo.net (8.8.8/8.8.6) id DAA14568; Thu, 2 Apr 1998 03:10:23 +0200 (MET DST) Message-ID: <19980402030908.62016@follo.net> Date: Thu, 2 Apr 1998 03:09:08 +0200 From: Eivind Eklund To: "Kenneth P. Stox" , Alex Povolotsky Cc: hackers@FreeBSD.ORG Subject: Re: Mozilla and LessTif References: <199804011801.WAA14732@minas-tirith.pol.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.89.1i In-Reply-To: ; from Kenneth P. Stox on Wed, Apr 01, 1998 at 05:51:29PM -0600 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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 , 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