From: Richard R. <sf...@ol...> - 2003-11-03 15:53:49
|
On Mon, Nov 03, 2003 at 09:40:11AM -0600, Fay John F Contr AAC/WMG wrote: > OK, carry on. I've compiled the "current.tgz" (which has all your changes > through yesterday evening--though not this morning, I think) and I get no > compiler errors or warnings. Okay, that's good news. Thanks. > One more bug fix to add is in "fgDeinitialize" we need the following code: > > fgState.SwapCount = 0; > fgState.SwapTime = 0; > fgState.FPSInterval = 0; > > + if ( fgState.ProgramName ) > + { > + free ( fgState.ProgramName ) ; > + fgState.ProgramName = NULL ; > + } > + > #if TARGET_HOST_UNIX_X11 Ah! Well-spotted. I keep forgetting about freeglut's support for not-exiting when shutting down. I'll add this and delete those files later today. (If I forget, yell at me.) I have to run at the moment. But I'll get this stuck in with a few dozen other lines of changes already pending. Probably around mid-afternoon, with any luck. Thanks. > As it is now, there is a memory leak. (nod) -- "I probably don't know what I'm talking about." http://www.olib.org/~rkr/ |