From 1eacc19c719445ddcceb276d9187e30f9f5c36d6 Mon Sep 17 00:00:00 2001 From: jupfi Date: Fri, 9 Feb 2024 08:35:49 +0100 Subject: [PATCH] Updated memory allocation --- src/limedriver.cpp | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/src/limedriver.cpp b/src/limedriver.cpp index 2bbfab8..3ab7e17 100644 --- a/src/limedriver.cpp +++ b/src/limedriver.cpp @@ -1903,11 +1903,6 @@ DC_Q << endl; // Close device LMS_Close(device); - // Deallocate HDFattr - for (int ii = 0; ii < no_of_attr; ii++) { - free(HDFattr[ii].Value); - } - return 0; } @@ -1966,5 +1961,5 @@ int main(int argc, char **argv) { run_experiment(LimeCfg, HDFattrVector); - + return 0; }