clean up some memory leaks in drivers.oci