open-zwave
open-zwave copied to clipboard
Fix incorrect null pointer check
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.
Resolves #2613