Sdk/2505

endlessm/eos-sdk#2505
Same here, this needs a `NULL` check