Finished removing asprintf() code -- I forgot to remove the string variable and the corresponding free() call.

This commit is contained in:
doug 2011-12-05 04:37:36 +00:00
parent df15d0fbe7
commit 2017a65139
1 changed files with 1 additions and 3 deletions

View File

@ -139,10 +139,8 @@ void RomPatcher::quit()
void RomPatcher::updateChecksumUI()
{
uint32_t cksum;
char *cksumstr = NULL;
GetChecksum(rom, &cksum);
checksum->setText(QString().sprintf("%#x", cksum));
free(cksumstr);
checksum->setText(QString().sprintf("%#x", cksum));
}
void RomPatcher::applyMods()