From d2ee94d2ee878cab8030c3fb69a8de9e6d6ae7d7 Mon Sep 17 00:00:00 2001 From: Pawel Date: Wed, 7 Apr 2021 11:53:37 +0200 Subject: [PATCH] missing delete --- grid_map_sdf/src/SignedDistanceField.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/grid_map_sdf/src/SignedDistanceField.cpp b/grid_map_sdf/src/SignedDistanceField.cpp index b27bc0204..b4b3f5474 100644 --- a/grid_map_sdf/src/SignedDistanceField.cpp +++ b/grid_map_sdf/src/SignedDistanceField.cpp @@ -100,6 +100,8 @@ grid_map::Matrix SignedDistanceField::getPlanarSignedDistanceField(Eigen::Matrix result(x, y) = sqrt(imRef(out, x, y)); } } + delete input; + delete out; return result; }