mirror of
https://github.com/nqrduck/LimeDriver.git
synced 2024-11-24 11:02:25 +00:00
Updated memory allocation
This commit is contained in:
parent
274c2cb5b0
commit
1eacc19c71
1 changed files with 1 additions and 6 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue