fix memleaks in crl.c