[lvm2-commits] master - libdm: check if passed return pointer is not NULL