nvc0/ir/emit: implement move to and logic ops on predicates
[mesa.git] / src / gallium / drivers / nvc0 / nvc0_vbo.c
index 61a6341b852fa01a9360b67cd79c51a32deaa77d..3ae437a07780ed8f8a471e9969eed6ed58351be9 100644 (file)
@@ -89,6 +89,7 @@ nvc0_vertex_state_create(struct pipe_context *pipe,
             case 4: fmt = PIPE_FORMAT_R32G32B32A32_FLOAT; break;
             default:
                 assert(0);
+                FREE(so);
                 return NULL;
             }
             so->element[i].state = nvc0_format_table[fmt].vtx;