Free pointer references.