This function is used to destroy a system.
void dg_system_destroy(dg_system_t *system);
dg_system_destroy(render);
void dg_system_destroy(dg_system_t *system) { free(system); }