diff options
author | nobled <nobled@dreamwidth.org> | 2010-08-15 03:59:15 +0000 |
---|---|---|
committer | Marek Olšák <maraeo@gmail.com> | 2010-08-16 04:59:58 +0200 |
commit | 1e2cd02eae9d27e48273f4a548dc51f4f838eb96 (patch) | |
tree | d4eeddad3da3a59519fec93c27405a3867407835 /src/gallium/auxiliary/util/u_clear.h | |
parent | b0e1565b5f24c3f624745890170cce0700e620ff (diff) |
r300g: Fix leaks in failed context creation
This changes r300_destroy_context() so it can be called
on a partially-initialized context, and uses it when
r300_create_context() hits a fatal error.
This makes sure r300_create_context() doesn't leak memory
or neglect to call r300_update_num_contexts() when it fails.
Signed-off-by: Marek Olšák <maraeo@gmail.com>
Diffstat (limited to 'src/gallium/auxiliary/util/u_clear.h')
0 files changed, 0 insertions, 0 deletions