mesa: copy array_len in slang_fully_specified_type_copy()

(cherry picked from commit c20d00f04b)
This commit is contained in:
Brian Paul 2008-12-12 15:01:00 -07:00 committed by Brian Paul
parent 91535b8a61
commit ae701a1201

View file

@ -258,6 +258,7 @@ slang_fully_specified_type_copy(slang_fully_specified_type * x,
z.precision = y->precision;
z.variant = y->variant;
z.centroid = y->centroid;
z.array_len = y->array_len;
if (!slang_type_specifier_copy(&z.specifier, &y->specifier)) {
slang_fully_specified_type_destruct(&z);
return 0;