open-zwave icon indicating copy to clipboard operation
open-zwave copied to clipboard

Fix incorrect null pointer check

Open slowriot opened this issue 2 years ago • 1 comments

After calling node->GetGroup(), the current version checks if group is null, and if true, proceeds to derefecence the null pointer.

This amends the code to perform as intended, only dereferencing the pointer if group is not null.

slowriot avatar Apr 18 '23 15:04 slowriot

Resolves #2613

slowriot avatar Apr 18 '23 15:04 slowriot