[ofa-general] Re: [PATCH] opensm/osm_ucast_cache: fixing coredump

Sasha Khapyorsky sashak at voltaire.com
Mon Nov 3 07:24:28 PST 2008


On 17:05 Mon 03 Nov     , Yevgeny Kliteynik wrote:
> Following the recent changes in ports allocation - fixing core dump.
> 
> Signed-off-by: Yevgeny Kliteynik <kliteyn at dev.mellanox.co.il>
> ---
>  opensm/opensm/osm_ucast_cache.c |    2 --
>  1 files changed, 0 insertions(+), 2 deletions(-)
> 
> diff --git a/opensm/opensm/osm_ucast_cache.c b/opensm/opensm/osm_ucast_cache.c
> index b142a14..13dee11 100644
> --- a/opensm/opensm/osm_ucast_cache.c
> +++ b/opensm/opensm/osm_ucast_cache.c
> @@ -135,8 +135,6 @@ static void __cache_sw_destroy(cache_switch_t * p_sw)
>  		free(p_sw->lft);
>  	if (p_sw->hops)
>  		free(p_sw->hops);
> -	if (p_sw->ports)
> -		free(p_sw->ports);

Sure. Applied. Thanks.

Sasha



More information about the general mailing list