Path: utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!tut.cis.ohio-state.edu!ucbvax!decwrl!gilroy.pa.dec.com!klee From: klee@gilroy.pa.dec.com (Ken Lee) Newsgroups: comp.windows.x Subject: Re: Free data from XGetWindowProperty Message-ID: <1500@bacchus.dec.com> Date: 14 Jun 89 20:36:25 GMT References: <3174@ncsuvx.ncsu.edu> Sender: news@decwrl.dec.com Lines: 16 In article <3174@ncsuvx.ncsu.edu>, rcb@cccvs1.ncsu.edu (Randy Buckland) writes: > In the XGetWindowProperty call, you get back a pointer to the property data. > Should this be freed or not. I can't find anything in the documentation > that goes either way. According to Section 4.3 of the Xlib manual (X11R3): To free the resulting data, use XFree. In general, any user data allocated by an Xlib function may be freed with XFree. Ken Lee DEC Western Software Laboratory, Palo Alto, Calif. Internet: klee@decwrl.dec.com Uucp: uunet!decwrl!klee