Almere 4 – De Wachter 1 – lucky escape?

This game wound down to free pawn on either side of the board. I wonder if my 40th move (Kg4) was actually a losing move. Anyhow my opponent did not play b5 and the game resulted in a draw. De Wachter won 4,5 to 3,5.