(cppcheck fix) Possible null pointer dereference: h - otherwise it is redundant to check it against null.