mirror of
https://github.com/netsurf-browser/netsurf
synced 2025-01-01 16:54:30 +03:00
Fix memory leak
This commit is contained in:
parent
c0a15de1e4
commit
a440907b78
@ -285,6 +285,7 @@ STRPTR ami_locale_langs(int *codeset)
|
||||
acceptlangs = ASPrintf("%s", remapped);
|
||||
}
|
||||
}
|
||||
if(remapped != NULL) free(remapped);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user