Re: Gem GTT mmaps..

From: Xavier Bestel
Date: Sat Feb 07 2009 - 03:07:15 EST


Le vendredi 06 fÃvrier 2009 Ã 14:24 -0800, Jesse Barnes a Ãcrit :
> + map = list->map;
> + if (map) {
> + drm_free(map, sizeof(*map), DRM_MEM_DRIVER);
> + list->map = NULL;

I would have inverted the two last lines (otherwise why wouldn't you
directly drw_free(list->map) ?).

Xav


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/