OSDN Git Service

From Mo Dejong <supermo@bayarea.net>:
authorkseitz <kseitz>
Tue, 4 Jun 2002 19:16:59 +0000 (19:16 +0000)
committerkseitz <kseitz>
Tue, 4 Jun 2002 19:16:59 +0000 (19:16 +0000)
commitbd0e3f6131d77d0576ec60b594a2be00e078e88f
treed42a10daabeeeedb62e340e8fee5740d699e8123
parent9fa6c842a082611bed85325d3dbc6cfdb4e27b73
    From Mo Dejong  <supermo@bayarea.net>:
         * itk/generic/itk_archetype.c (ArchComponent, Itk_ArchCompDeleteCmd,
        Itk_CreateArchComponent, Itk_DelArchComponent): Save a copy
        of the window path name in the ArchComponent struct and use
        it in the Itk_ArchCompDeleteCmd method. The old code was
        invoking Tk_PathName(tkwin) on a Tk_Window which lead to
        a memory access on memory that has already been free'd
        when the widget was destroyed.
itcl/ChangeLog
itcl/itk/generic/itk_archetype.c
itcl/itk/library/itk.tcl