bug-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: PSclip


From: Adam Fedor
Subject: Re: PSclip
Date: Fri, 22 Mar 2002 09:34:25 -0700
User-agent: Mozilla/5.0 (X11; U; Linux ppc; en-US; rv:0.9.7) Gecko/20020120

Alexander Malmberg wrote:

Pete French wrote:

I am seeing consistent memory problems when using a clipping path in
GNUstep. Sometimes this manifests itself as the clip working properly, but
then I get a "Warning: free() called on already freed memory" when the code
exits, but most of the time it manifests itself as a coredump when the
code actually runs. I havent yet managed to track down the source of the
proiblem though, as the debugger never seems to give me any useful info
as to where the memory smash originally occurred.


Seems to me that -_doPath::draw: was calling XIntersectRegion() without
creating the region, thus causing the crash. I've attached a patch that
fixes it. With the patch it works here.



I added this, thanks.




--
Adam Fedor, Digital Optics Corp.      | I'm glad I hate spinach, because
http://www.doc.com                    | if I didn't, I'd eat it, and you
                                      | know how I hate the stuff.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]