Memory leak in RefreshMapper, fixes #5323

This commit is contained in:
heckflosse
2019-05-18 18:44:06 +02:00
parent 351f8f4e12
commit 159e1784f4
3 changed files with 32 additions and 28 deletions

View File

@@ -20,6 +20,7 @@
#pragma once
#include <string>
#include <map>
#include <unordered_map>
#include "../rtengine/refreshmap.h"
@@ -34,4 +35,5 @@ private:
ProcEventMapper();
std::unordered_map<int, std::string> history_msgs_;
std::map<std::string, rtengine::ProcEvent> events_;
};