diff options
Diffstat (limited to 'backend/src/ir/unit.cpp')
-rw-r--r-- | backend/src/ir/unit.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/backend/src/ir/unit.cpp b/backend/src/ir/unit.cpp index 56042446..a350c602 100644 --- a/backend/src/ir/unit.cpp +++ b/backend/src/ir/unit.cpp @@ -34,6 +34,7 @@ namespace ir { Unit::~Unit(void) { for (const auto &pair : functions) GBE_DELETE(pair.second); delete profilingInfo; + for (const auto &pair : printfs) GBE_DELETE(pair.second); } Function *Unit::getFunction(const std::string &name) const { auto it = functions.find(name); |