Fix two dynamic string leaks.