map_set is used incorrectly on some places
Probably due to misleading API docs; when it returns 1, it's replaced the value, but sometimes we free the value afterwards assuming ENOMEM. Some
set_add call sites might also be affected.
To upload designs, you'll need to enable LFS and have admin enable hashed storage. More information