1
0
mirror of https://github.com/gryf/wmaker.git synced 2025-12-19 04:20:27 +01:00

util: fix leak in getstyle's makeThemePack (Coverity #50164)

As pointed by Coverity, the function is creating a temporary array with
the list of keys of the Style dictionnary, but it was not freed in the end.

Signed-off-by: Christophe CURIS <christophe.curis@free.fr>
This commit is contained in:
Christophe CURIS
2014-06-16 20:15:21 +02:00
committed by Carlos R. Mafra
parent f2a7f233e3
commit 1a9ece0438

View File

@@ -279,6 +279,7 @@ static void makeThemePack(WMPropList * style, const char *themeName)
}
}
}
WMReleasePropList(keys);
}
int main(int argc, char **argv)