Michael> This seems to leak sizeof *attr bytes if Michael> ib_find_cached_pkey returns an error. Good catch. It actually seems to leak attr unconditionally... I'll fix it up now. - R.