[OPEN-ILS-DEV] segfault in JSON object re-use code
Bill Erickson
erickson at esilibrary.com
Mon Jul 7 22:23:09 EDT 2008
On Monday 07 July 2008 7:38 Bill Erickson wrote:
> Am I crazy, or should unusedObjUnion actually be implemented as a struct
> and not a union, since it needs to actively maintain pointers to the next
> unusedObjUnion and its jsonObject simultaneously? I.e. a union can only
> store data for one field at any given time.
After some lively discussion in #openils-evergreen, I have seen the light.
I'll can now peacefully go back to debugging my own code which is clearly
doing some improper memory management of its own.
-b
--
Bill Erickson
| VP, Software Development & Integration
| Equinox Software, Inc. / The Evergreen Experts
| phone: 877-OPEN-ILS (673-6457)
| email: erickson at esilibrary.com
| web: http://esilibrary.com
More information about the Open-ils-dev
mailing list