widl: Conformant arrays have a size of 0.
Conformant arrays should cause a size of 0 to be returned from
type_memsize.
diff --git a/tools/widl/typegen.c b/tools/widl/typegen.c
index 8f12934..85c83c4 100644
--- a/tools/widl/typegen.c
+++ b/tools/widl/typegen.c
@@ -430,8 +430,13 @@
         size = 0;
     }
 
-    if (array && array->is_const)
-        size *= array->cval;
+    if (array)
+    {
+        if (array->is_const)
+            size *= array->cval;
+        else
+            size = 0;
+    }
 
     return size;
 }