| LEADTOOLS DICOM C DLL Help > Function References > L_DicomFreeDS | 
#include "Ltdic.h"
L_LTDIC_API L_VOID L_DicomFreeDS(hDS)
| HDICOMDS hDS; | /* A DICOM handle */ | 
Destroys the data set and frees the memory.
| Parameter | Description | 
| hDS | A DICOM handle. | 
Returns
None.
Comments
This function frees the memory allocated by L_DicomCreateDS.
Required DLLs and Libraries
| For a listing of the exact DLLs and Libraries needed, based on the toolkit version, refer to Files To Be Included With Your Application | 
Win32, x64, Linux.
See Also
| Functions: | L_DicomCreateDS, L_DicomInitDS, L_DicomLoadDSMemory, L_DicomLoadDS | 
| Topics: | |
| 
 | How to Disable the Automatic Loading of the default DICOM IOD Table | 
Example
For an example, refer to L_DicomCreateDS.