From 59068601949671f207fc4ab3f00d09bd52f61cff Mon Sep 17 00:00:00 2001 From: Boris Zbarsky Date: Thu, 22 Dec 2022 14:12:00 -0500 Subject: [PATCH] Apply suggestion from review comment. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Jonathan Mégevand <77852424+jmeg-sfy@users.noreply.github.com> --- examples/chip-tool/commands/clusters/ComplexArgument.h | 1 + 1 file changed, 1 insertion(+) diff --git a/examples/chip-tool/commands/clusters/ComplexArgument.h b/examples/chip-tool/commands/clusters/ComplexArgument.h index c9dbe652828f54..f60cae91a34872 100644 --- a/examples/chip-tool/commands/clusters/ComplexArgument.h +++ b/examples/chip-tool/commands/clusters/ComplexArgument.h @@ -218,6 +218,7 @@ class ComplexArgumentParser return buffer; }, &size); + if (err != CHIP_NO_ERROR) { if (buffer != nullptr)