ber_free after processing every entry.