← Back to team overview

widelands-dev team mailing list archive

Re: [Merge] lp:~widelands-dev/widelands/ai_coverity into lp:widelands

 

Oh, sorry, coverity said:

 Variable "path" going out of scope leaks the storage it points to.

The path is initialized here: http://bazaar.launchpad.net/~widelands-dev/widelands/ai_coverity/view/head:/src/ai/defaultai.cc#L2975

I am simply not that good in C++ to say if it is enough to get rid of the variable
-- 
https://code.launchpad.net/~widelands-dev/widelands/ai_coverity/+merge/294132
Your team Widelands Developers is requested to review the proposed merge of lp:~widelands-dev/widelands/ai_coverity into lp:widelands.


References