Fix memory leak

This commit is contained in:
Chris Young 2016-12-06 23:34:24 +00:00
parent c0a15de1e4
commit a440907b78

View File

@ -285,6 +285,7 @@ STRPTR ami_locale_langs(int *codeset)
acceptlangs = ASPrintf("%s", remapped);
}
}
if(remapped != NULL) free(remapped);
}
else
{