From e54c1d25187561a7356ede66ffecdd2a27028807 Mon Sep 17 00:00:00 2001 From: Magnus Persson Date: Fri, 14 Oct 2022 19:37:14 +0200 Subject: [PATCH] Fixed bug in template engine, not including the start of tempalte --- src/templating.hpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/templating.hpp b/src/templating.hpp index 3935312..f96a77e 100644 --- a/src/templating.hpp +++ b/src/templating.hpp @@ -196,9 +196,7 @@ class TemplatingEngine { void freeMemory() { if (_output) free(_output); - _output = 0; - _baseTemplate.clear(); } void initialize(float angle, float gravitySG, float corrGravitySG, float tempC, float runTime);