Updated the GitHub Code and added the function "sc_light_remove(ENTITY* ent)" to it. With this function shade-c light can be remove and all memory will be freed and released.