I think ortho hydroxy benzoic acid is more acidic due to ortho effect which cleary states that if a group is attached to
benzoic acid at the ortho position it causes the COOH group to get out of the plane. As a result it can come in
resonance and thus the hydrogen can easily be released making it more acidic.
Plz correct me if i am wrong