From 717f1f0e7e565825d2f94ad2cd62136337e69ad6 Mon Sep 17 00:00:00 2001 From: Matt Hill Date: Tue, 1 Jul 2014 19:00:15 -0400 Subject: [PATCH] Remove thresholds when pipeline_data goes out of scope --- src/openalpr/pipeline_data.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/openalpr/pipeline_data.cpp b/src/openalpr/pipeline_data.cpp index 414510d..6aec753 100644 --- a/src/openalpr/pipeline_data.cpp +++ b/src/openalpr/pipeline_data.cpp @@ -16,6 +16,7 @@ PipelineData::PipelineData(Mat colorImage, Rect regionOfInterest, Config* config PipelineData::~PipelineData() { + clearThresholds(); } void PipelineData::clearThresholds()