From f330febee3c9226d1a2181b83936d5c199633c87 Mon Sep 17 00:00:00 2001 From: Joakim Hove Date: Wed, 15 Jan 2020 13:24:44 +0100 Subject: [PATCH] Match delete with new --- lib/enkf/value_export.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/enkf/value_export.cpp b/lib/enkf/value_export.cpp index 17ce56dec7..607f3a0458 100644 --- a/lib/enkf/value_export.cpp +++ b/lib/enkf/value_export.cpp @@ -94,7 +94,7 @@ value_export_type * value_export_alloc(std::string directory, std::string base_n void value_export_free(value_export_type * value) { - free( value ); + delete value; } int value_export_size( const value_export_type * value) {