Path: utzoo!attcan!uunet!husc6!bloom-beacon!apple!rutgers!ucsd!ucbvax!hplabs!hp-pcd!hpcvlx!fred
From: fred@hpcvlx.HP.COM (Fred Taft)
Newsgroups: comp.windows.x
Subject: Re: HP's Xtk Bug Fixes
Message-ID: <1610039@hpcvlx.HP.COM>
Date: 15 Aug 88 18:13:01 GMT
References: <1610032@hpcvlx.HP.COM>
Organization: Hewlett-Packard Co., Corvallis, OR, USA
Lines: 35


### bug number:   420
### area:         Xt
### severity:     medium
### comments:     workaround: don't reuse these resources


VERSION:
	Xtk release 2

SYNOPSIS:
	CoreDestroy() frees up resources owned by the application

DESCRIPTION:
	When a widget is destroyed, the CoreDestroy() routine frees up
        the background pixmap and the border pixmap, if they are defined.
        Unfortunately, these resource were owned by the application; the
        intrinsics had not ever made their own private copy.  The next
        time the application tries to use that pixmap, an X Error occurs.

REPEAT-BY:
	Create a widget and assign a background pixmap.
        Destroy the widget.
        Create a second widget using the same background pixmap.
        An X Error occurs.

FIX:

/* Patch to Core.c */

263a264,265
> /*
>     DON'T FREE UP RESOURCES WE DID NOT ALLOCATE!!!!
267a270
> */