Path: utzoo!utgpu!news-server.csri.toronto.edu!bonnie.concordia.ca!thunder.mcrcim.mcgill.edu!snorkelwacker.mit.edu!usc!zaphod.mps.ohio-state.edu!lavaca.uh.edu!menudo.uh.edu!sugar!peter From: peter@sugar.hackercorp.com (Peter da Silva) Newsgroups: comp.sys.amiga.tech Subject: Re: Who frees CUSTOMBITMAPs? Keywords: OpenScreen, CloseScreen Message-ID: <7481@sugar.hackercorp.com> Date: 8 Jan 91 13:47:25 GMT References: <324@smosjc.UUCP> Reply-To: peter@sugar.hackercorp.com (Peter da Silva) Organization: Sugar Land Unix - Houston Lines: 13 In article <324@smosjc.UUCP> brett@smosjc.UUCP (Brett Coon) writes: > When you open a screen with the CUSTOMBITMAP flag set in the NewScreen struc- > ture, will CloseScreen free the bitmap memory? No. > On a related topic, is it correct that memory must be freed in the same block > sizes in which it is allocated? In a manner of speaking: you must free the same requests that were made. -- Peter da Silva. `-_-' .