Re: gialog immediately segfaults
- From: "Jesse D. Sightler" <jsight pair com>
- To: Miguel de Icaza <miguel nuclecu unam mx>
- CC: Fox vorlon babylon, Kevin M <KMFox mail bhi-erc com>, 'BASS vorlon babylon, "Ned*'" <nbass shl com>, gnome-list gnome org
- Subject: Re: gialog immediately segfaults
- Date: Tue, 30 Mar 1999 22:23:36 -0500
Well, sorry that I don't have the patch handy, but basically just remove
the (only) call to g_free from "label_autowrap" in "util.c". This
causes a memory leak
of not greater than a couple hundred bytes. :-)
Miguel de Icaza wrote:
>
> > Basically, if I run 'gdialog --yesno "test" 80 80' the program core
> > dumps, but if I give it something longer like:
> > 'gdialog --yesno "test is some testing code to find out what is going on here and warp" 80 80'
> >
> > It executes beatifully. Apparantly label_autowrap() is the source of the problem?
>
> Could you mail us a patch?
>
> Miguel.
> --
> miguel@gnu.org
--
---------------
Jesse D. Sightler
http://www3.pair.com/jsight/
"Do not use a hatchet to remove a fly from your friend's forehead."
- Chinese Proverb
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]