draw: Fix memory leak.

This would only be hit if we got and invalid index_size.
This commit is contained in:
Vinson Lee 2009-10-27 09:13:27 -06:00 committed by Brian Paul
parent b73c4ad98b
commit b7ab7d3627

View file

@ -394,6 +394,7 @@ vcache_check_run( struct draw_pt_front_end *frontend,
default:
assert(0);
FREE(storage);
return;
}
}
@ -422,6 +423,7 @@ vcache_check_run( struct draw_pt_front_end *frontend,
default:
assert(0);
FREE(storage);
return;
}
}