[sr-dev] git:3.3: allow freeing of NULL pointer to behave like standard free() function