If the barrel is made of 12L14 alloy, it is not weldable. But you could braze / hard silver solder fill the flaw and make a repair that way. I take it you have fired the pistol before and, with typical pistol loads, a braze repair would make it better than it was.