> The problem is with _nxAddProperty function in the way is creates
linked lists of windows and properties.
> The first window/property is not tested correctly and it is
duplicated, and when deletion is performed, the duplication is removed
> but not the original and leak occurs.

For some reason my fix is crashing my system (invalid memory reference)
after about 15 window create/destroy sequences.
It appears that the line:
        win->w = w;
which initializes the pointer making the algorithm work also causes the
algorithm to fail.

I do not believe there is a problem with the fix, but because of the
fix, the algorithm now executes code that it was never executing before
and therefore it was not tested.
I think there is another bug somewhere and my fix just opened it up.
Back to debugging...

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to