Re: [patch] fix small memory leak in ttm_memory.c

2009-11-29 Thread Thomas Hellström
Dan Carpenter wrote: > I moved the allocation until after the check for (si->totalhigh == 0). > > regards, > dan carpenter > > Signed-off-by: Dan Carpenter > > --- orig/drivers/gpu/drm/ttm/ttm_memory.c 2009-11-28 07:05:54.0 > +0200 > +++ devel/drivers/gpu/drm/ttm/ttm_memory.c2009-

[patch] fix small memory leak in ttm_memory.c

2009-11-28 Thread Dan Carpenter
I moved the allocation until after the check for (si->totalhigh == 0). regards, dan carpenter Signed-off-by: Dan Carpenter --- orig/drivers/gpu/drm/ttm/ttm_memory.c 2009-11-28 07:05:54.0 +0200 +++ devel/drivers/gpu/drm/ttm/ttm_memory.c 2009-11-28 07:07:52.0 +0200 @@