Fix memory leak reported by Coverity
commit97a9300aa47822ea15a8d423b1cdfb2b6d346fc0
authorChristophe CURIS <christophe.curis@free.fr>
Fri, 14 May 2021 17:36:33 +0000 (14 19:36 +0200)
committerCarlos R. Mafra <crmafra@gmail.com>
Tue, 18 May 2021 16:49:17 +0000 (18 17:49 +0100)
tree8fe5a31f491cd5878b2adaab75acdff6582f1fd1
parentfd56152202cf7b431a5d0d060fff4aa5f6cad178
Fix memory leak reported by Coverity

As reported in CID #331577, we re-use the variable 'tmp' without freeing
the previously allocated pointer.

Signed-off-by: Christophe CURIS <christophe.curis@free.fr>
src/rootmenu.c