Finished removing asprintf() code -- I forgot to remove the string variable and the corresponding free() call.
This commit is contained in:
parent
df15d0fbe7
commit
2017a65139
|
@ -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()
|
||||
|
|
Loading…
Reference in New Issue