Index: trunk/i386/libsaio/xml.c =================================================================== --- trunk/i386/libsaio/xml.c (revision 2057) +++ trunk/i386/libsaio/xml.c (revision 2058) @@ -261,7 +261,7 @@ int i; s++; - for ( i = 0; i < sizeof(ents); i++) + for ( i = 0; i < sizeof(ents)/sizeof(ents[0]); i++) { if ( strncmp(s, ents[i].name, ents[i].nameLen) == 0 ) { @@ -1223,4 +1223,4 @@ return true; } return false; -} \ No newline at end of file +} Index: trunk/i386/libsaio/nvidia.c =================================================================== --- trunk/i386/libsaio/nvidia.c (revision 2057) +++ trunk/i386/libsaio/nvidia.c (revision 2058) @@ -3326,5 +3326,6 @@ memcpy(stringdata, (uint8_t*)devprop_generate_string(string), string->length); stringlength = string->length; + free(rom); return true; }