While here, the call to free(9) is moved to drm_global.c, near the initial malloc(9). Reviewed by: Konstantin Belousov (kib@)
This fixes a build error at the same time (unused variable "item"), if the kernel is compiled without INVARIANTS. Reported by: Hartmann, O. <ohartman@zedat.fu-berlin.de> (build error) Reviewed by: Konstantin Belousov (kib@)
Sponsored by: The FreeBSD Foundation MFC after: 1 month