It looks like a wound to me, but if you think the other frog has red leg I wouldn't take chances. Can you get that one examined too? Also you might want to check the tank for sharp things the frog could have rubbed.