mirror of
https://github.com/gryf/wmaker.git
synced 2025-12-19 20:38:08 +01:00
It is really unlikely that the free(menu) was the correct thing, it is more likely that it was a typo instead of the appropriate 'free(menu)': It would be excessive behaviour to free the complete menu only because an entry cannot be added, and even if it were the case that would not be the right way to do it because it would leak all the entries already allocated for it. (This fixes Coverity #50154 and #50155) Signed-off-by: Christophe CURIS <christophe.curis@free.fr>