1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2025-01-31 20:51:52 +01:00

Free PressureDiffs instead of leaking.

Found by valgrind.

llvm-svn: 189725
This commit is contained in:
Benjamin Kramer 2013-08-31 20:10:01 +00:00
parent 4bd23de2ce
commit 4921fdebc8

View File

@ -157,6 +157,7 @@ class PressureDiffs {
unsigned Max;
public:
PressureDiffs(): PDiffArray(0), Size(0), Max(0) {}
~PressureDiffs() { free(PDiffArray); }
void init(unsigned N);