This can happen if you used too much filling, it was too wet, you didn't seal the edges properly, or there was a hole in the pastry. The turnovers are still fine to eat even if they leaked, although they might look a little messy.