mirror of
https://github.com/HDFGroup/hdf5.git
synced 2025-03-07 16:37:56 +08:00
Avoid double free
This commit is contained in:
parent
afeaceef5f
commit
8e30e7eb19
@ -4258,9 +4258,6 @@ int ull2float(unsigned long long ull_value, float *f_value)
|
||||
|
||||
HDmemcpy(f_value, buf, dst_size);
|
||||
|
||||
if (buf)
|
||||
HDfree(buf);
|
||||
|
||||
done:
|
||||
H5E_BEGIN_TRY {
|
||||
H5Pclose(dxpl_id);
|
||||
|
Loading…
Reference in New Issue
Block a user