mirror of
https://github.com/nqrduck/LimeDriver.git
synced 2024-11-25 11:32:27 +00:00
Deallocated HDFattr memory
This commit is contained in:
parent
f9d86bd4de
commit
274c2cb5b0
1 changed files with 5 additions and 0 deletions
|
@ -1903,6 +1903,11 @@ DC_Q << endl;
|
||||||
// Close device
|
// Close device
|
||||||
LMS_Close(device);
|
LMS_Close(device);
|
||||||
|
|
||||||
|
// Deallocate HDFattr
|
||||||
|
for (int ii = 0; ii < no_of_attr; ii++) {
|
||||||
|
free(HDFattr[ii].Value);
|
||||||
|
}
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue