If Patref:commit() was used and the new version (generation) isn't going to be committed, calling Patref:giveup() will allow allocated resources to be freed and reused. It is a good habit to call this if commit() isn't called after a prepare().
If Patref:commit() was used and the new version (generation) isn't going to be committed, calling Patref:giveup() will allow allocated resources to be freed and reused. It is a good habit to call this if commit() isn't called after a prepare().