util: fix leak in setstyle (Coverity #50151+#50152)
commit75511e2ec829cc2ffed94a87fbc2861b8ccb5056
authorChristophe CURIS <christophe.curis@free.fr>
Mon, 16 Jun 2014 18:15:19 +0000 (16 20:15 +0200)
committerCarlos R. Mafra <crmafra@gmail.com>
Mon, 16 Jun 2014 19:00:08 +0000 (16 20:00 +0100)
treecc44da2acefb63c458aed934299d19da08f912ed
parent2e7ca448ae340392f3e15cdceaed02c3419edbc2
util: fix leak in setstyle (Coverity #50151+#50152)

As pointed by Coverity, there are a few cases where the list of the keys
of a dictionary is being requested, but at the end the array that was
created to hold these keys was not freed.

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