fix out-of-order destruction of objects at program termination
Brought to you by:
johnston
From: <ivt...@li...> - 2002-11-07 00:30:11
|
Patch: ivtools-021106-johnston-074 For: ivtools-1.0.6 Author: joh...@us... Subject: fix out-of-order destruction of objects at program termination Requires: This is an intermediate patch to ivtools-1.0.6. To apply, cd to the top-level directory of the ivtools source tree (the directory with src and config subdirs), and apply like this: patch -p0 <ThisFile Summary of Changes: - fix out-of-order destruction of member objects of the central Unidraw object at program termination. Index: Unidraw/unidraw.c diff -c Unidraw/unidraw.c:1.1 Unidraw/unidraw.c:1.2 *** Unidraw/unidraw.c:1.1 Fri Sep 13 09:50:58 2002 --- src/Unidraw/unidraw.c Wed Nov 6 12:13:08 2002 *************** *** 211,220 **** Unidraw::~Unidraw () { CloseAll(); ClearHistory(); - delete _histories; delete _editors; delete _deadEditors; delete _catalog; delete _world; } --- 211,220 ---- Unidraw::~Unidraw () { CloseAll(); ClearHistory(); delete _editors; delete _deadEditors; delete _catalog; + delete _histories; delete _world; } *** /dev/null Wed Nov 6 12:13:32 PST 2002 --- patches/ivtools-021106-johnston-074 *************** patches/ivtools-021106-johnston-074 *** 0 **** --- 1 ---- + ivtools-021106-johnston-074 |