Fix: lrmd: Prevent use-of-NULL in client library