We would get a reference to the old permission, then free it, and then insert the freed pointer into the new hashtable again. Closes: #6524 Fixes: 6667e1d3 ("context: Use the new permission system for shares and features")
6667e1d3