Path: utzoo!attcan!utgpu!news-server.csri.toronto.edu!mailrus!wuarchive!emory!mephisto!prism!prism.gatech.EDU!gt1448b From: gt1448b@prism.gatech.EDU (David P. Forrai) Newsgroups: comp.sys.atari.st.tech Subject: Re: Malloc() and desk accessories Message-ID: <13263@hydra.gatech.EDU> Date: 1 Sep 90 20:59:27 GMT Sender: gt1448b@prism.gatech.EDU Organization: Georgia Institute of Technology Lines: 7 In a previous post on this subject, it was mentioned that making a call to v_opnvwk() did a Malloc, thus problems can result from DA's which call it. In ACSKEL.C, a v_opnvwk() is called when the DA is opened, and a v_clsvwk() is called when a DA is closed. Therfore, this example of a desk accessory is not coded "correctly". What is the correct way to call v_opnvwk()? Should it be done before the event loop and v_clsvwk() never called?