Plane cabins are often at a lower pressure.
So, it wouldn't leak when going up, but after landing you'll be back in a higher pressure environment and it might leak then.
Are you able to store it upside down? Tip down? At least when nearing the end of the flight.
Then the pressure inside could adjust without worry about it leaking due to the pressure increasing when landing.