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.

_______________________________________________
Mailing list: https://launchpad.net/~widelands-dev
Post to     : widelands-dev@lists.launchpad.net
Unsubscribe : https://launchpad.net/~widelands-dev
More help   : https://help.launchpad.net/ListHelp

Reply via email to