Welcome to NeoOffice developer notes and announcements
NeoOffice
Developer notes and announcements
 
 

Download or installation problems? Try these steps
Problems after upgrading to NeoOffice 2017? Try these steps


Support
· NeoOffice Support
· NeoWiki


Announcements
· Twitter @NeoOffice


Downloads
· Download NeoOffice


RSS Feeds
· Announcements Only
· All Posts


  
NeoOffice :: View topic - Fix to aqua/source/app/salinst.cxx
Fix to aqua/source/app/salinst.cxx
 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    NeoOffice Forum Index -> NeoOffice/C Development
View previous topic :: View next topic  
Author Message
OPENSTEP
The One
The One


Joined: May 25, 2003
Posts: 4752
Location: Santa Barbara, CA

PostPosted: Wed Mar 24, 2004 12:02 am    Post subject: Fix to aqua/source/app/salinst.cxx Reply with quote

I just committed what seems to be a fix to salinst.cxx. Basically, I'm trying to track down some crashers and thus far the only thoughts I have are that the heap is getting trashed somehow Sad

Anyway, while looking at SalInstance::Yield(), I noticed that there was an explicit [pTimeoutDate release] call on an NSDate that was returned from the fireDate method of NSTimer. I may have interpreted my bible (WWDC 2002 session 302) incorrectly, but I believe that NSTimer will have already taken care of memory management for the returned NSDate and the explicit release isn't necessary since we aren't retaining it ourselves in [VCLApplication getSALTimerTimeoutDate].

I'm unsure if it would have bad effects a la freeing a pointer already freed. Any thoughts?

ed
Back to top
View user's profile Send private message Visit poster's website AIM Address
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    NeoOffice Forum Index -> NeoOffice/C Development All times are GMT - 7 Hours
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum

Powered by phpBB © 2001, 2005 phpBB Group

All logos and trademarks in this site are property of their respective owner. The comments are property of their posters, all the rest © Planamesa Inc.
NeoOffice is a registered trademark of Planamesa Inc. and may not be used without permission.
PHP-Nuke Copyright © 2005 by Francisco Burzi. This is free software, and you may redistribute it under the GPL. PHP-Nuke comes with absolutely no warranty, for details, see the license.
Page Generation: 0.02 Seconds