Fix memory leak in parse_or_diff_from_header()
We should fix the memory leak found in parse_or_diff_from_header(). This was found via Coverity under CID 1405876.
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information