blublubb Posted March 31, 2013 Report Share Posted March 31, 2013 Hi guys,have been playing 0 A.D. for a while now, and I like it pretty much!!!As R13 is a bit delayed did check out sources yesterday have a look at the current state of development.New features are amazing. Then today had a look at sources with Cppcheck (http://cppcheck.sourceforge.net/) and it found some mem leaks.[source\renderer\WaterManager.cpp:543]: (error) Memory leak: groundDirection[source\renderer\WaterManager.cpp:543]: (error) Memory leak: waveForceHQCannot say if they're valid because I really don't know your code structure at all, but we've found some nasty bugs while doing code for this:http://www.benchmark...rum/content.phpSo if nobody yet has done test run with Cppcheck, I highly recomend doing.Cheers and keep on awsome workBlulbubb Quote Link to comment Share on other sites More sharing options...
quantumstate Posted March 31, 2013 Report Share Posted March 31, 2013 Thanks for running this. From an initial look this does look like a genuine leak, but I am not at my development PC so can't analyse it properly. Quote Link to comment Share on other sites More sharing options...
fabio Posted March 31, 2013 Report Share Posted March 31, 2013 There is already a ticket for this: #1852. Quote Link to comment Share on other sites More sharing options...
blublubb Posted April 1, 2013 Author Report Share Posted April 1, 2013 Hi guys,There is already a ticket for this: #1852.did a quick search in forum but not in track, soory then. CheersBlublubb Quote Link to comment Share on other sites More sharing options...
wraitii Posted April 1, 2013 Report Share Posted April 1, 2013 That's my code in the fancy water shader... Looking at it it appears like GroundDirection is obsolete code and should be removed alltogether. WaveforceHQ does appear to be incorrectly not deleted (probably should be done after its last use, or line 543 in WaterManager.cpp) 1 Quote Link to comment Share on other sites More sharing options...
historic_bruno Posted April 3, 2013 Report Share Posted April 3, 2013 Fixed. 1 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.