Fix memory leak when setting in UserDataCollection
continuous-integration/drone/push Build is failing

This commit is contained in:
Deukhoofd committed 2019-07-28 19:03:13 +02:00
1 parent 4b5672e3f5
commit f2cb8d4016
1 file changed
+1
+1
View File
@@ -67,6 +67,7 @@ namespace Porygon::UserData {
void SetIndexValue(const EvalValue *key, const EvalValue* value) const final{
_helper->Set(key, value);
delete value;
}
};
}