Skip to content

Commit

Permalink
Updated memory allocation
Browse files Browse the repository at this point in the history
  • Loading branch information
jupfi committed Feb 9, 2024
1 parent 274c2cb commit 1eacc19
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions src/limedriver.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;

}
Expand Down Expand Up @@ -1966,5 +1961,5 @@ int main(int argc, char **argv) {

run_experiment(LimeCfg, HDFattrVector);


return 0;
}

0 comments on commit 1eacc19

Please sign in to comment.