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:
parent
4bd23de2ce
commit
4921fdebc8
@ -157,6 +157,7 @@ class PressureDiffs {
|
||||
unsigned Max;
|
||||
public:
|
||||
PressureDiffs(): PDiffArray(0), Size(0), Max(0) {}
|
||||
~PressureDiffs() { free(PDiffArray); }
|
||||
|
||||
void init(unsigned N);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user