cleanup code (smbios.c)