mirror of
https://github.com/gryf/wmaker.git
synced 2025-12-19 12:28:22 +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:
committed by
Carlos R. Mafra
parent
f2a7f233e3
commit
1a9ece0438
@@ -279,6 +279,7 @@ static void makeThemePack(WMPropList * style, const char *themeName)
|
||||
}
|
||||
}
|
||||
}
|
||||
WMReleasePropList(keys);
|
||||
}
|
||||
|
||||
int main(int argc, char **argv)
|
||||
|
||||
Reference in New Issue
Block a user