Bug-22354: Free allocated nonce.
Bug-22355: Free primary key data that was allocated.
Bug-22356: Removed unused tmp_nonce, and freed allocated rec_nonce.
Bug-22357: Freed path string that was used to open databse segment.