diff options
Diffstat (limited to 'src/gallium/state_trackers/nine/vertexdeclaration9.c')
-rw-r--r-- | src/gallium/state_trackers/nine/vertexdeclaration9.c | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/src/gallium/state_trackers/nine/vertexdeclaration9.c b/src/gallium/state_trackers/nine/vertexdeclaration9.c index 49a60e35b1e..4aea1169be3 100644 --- a/src/gallium/state_trackers/nine/vertexdeclaration9.c +++ b/src/gallium/state_trackers/nine/vertexdeclaration9.c @@ -220,12 +220,9 @@ NineVertexDeclaration9_ctor( struct NineVertexDeclaration9 *This, void NineVertexDeclaration9_dtor( struct NineVertexDeclaration9 *This ) { - if (This->decls) - FREE(This->decls); - if (This->elems) - FREE(This->elems); - if (This->usage_map) - FREE(This->usage_map); + FREE(This->decls); + FREE(This->elems); + FREE(This->usage_map); NineUnknown_dtor(&This->base); } |