<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def destroy_codec(codec):
 """Destroy a decompressor handle. Wraps the openjp2 library function opj_destroy_codec. Parameters codec : CODEC_TYPE Decompressor handle to destroy. """

    OPENJP2.opj_destroy_codec.argtypes = [CODEC_TYPE]
    OPENJP2.opj_destroy_codec.restype = ctypes.c_void_p
    OPENJP2.opj_destroy_codec(codec)