Found leak in read_var3d