aboutsummaryrefslogtreecommitdiff
path: root/3rd
diff options
context:
space:
mode:
authorPavel Labath <pavelo@centrum.sk>2011-07-02 15:21:24 (GMT)
committerPaul Tagliamonte <paultag@fluxbox.org>2012-04-07 02:11:29 (GMT)
commit34649e86c5cbe9c9f231c049a0844afdda5a7db9 (patch)
tree6e9696e36565e993185c9d265ca6542b77788fd9 /3rd
parent0b0ee8dc504016ffad85ec1dd35875d273cf0179 (diff)
downloadfluxbox_paul-34649e86c5cbe9c9f231c049a0844afdda5a7db9.zip
fluxbox_paul-34649e86c5cbe9c9f231c049a0844afdda5a7db9.tar.bz2
Store menus if smart pointers (RefCount)
This was originally intended to be a bugfix for an memory error reported by valgrind (accessing freed memory). While debugging it, I found the menu ownership semantics confusing (setInternalMenu() et al.), so I decided to get rid of it and store it in smart pointers everywhere. Looking back, I'm not sure if this was worth all the trouble, but the good news is that the valgrind error disappeared. :)
Diffstat (limited to '3rd')
0 files changed, 0 insertions, 0 deletions