diff options
-rw-r--r-- | source4/build/pidl/parser.pm | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source4/build/pidl/parser.pm b/source4/build/pidl/parser.pm index 8fb74b2e0e..d6a27ddff2 100644 --- a/source4/build/pidl/parser.pm +++ b/source4/build/pidl/parser.pm @@ -286,7 +286,8 @@ sub CheckArraySizes($$) my $e = shift; my $var_prefix = shift; - if (util::has_property($e, "size_is")) { + if (!defined $e->{CONFORMANT_SIZE} && + util::has_property($e, "size_is")) { my $size = find_size_var($e, util::array_size($e), $var_prefix); pidl "\tif ($var_prefix$e->{NAME}) {\n"; check_null_pointer($size); |