comparison m_option.h @ 32927:edb972e22021

Fix memory leak in appInitStruct(). The NumberOf{Main,Bar,Menu}Items members actually don't hold the number of items but the last index used. Therefore, the last item won't get freed so far. To set the correct "number" for the global external variable prior to using it, the function appResetStruct() has been added and is used in appInitStruct() as well.
author ib
date Thu, 03 Mar 2011 13:45:30 +0000
parents 92b92a78ca2a
children 08a90b0e44e1
comparison
equal deleted inserted replaced
32926:7c205a5c2a9b 32927:edb972e22021