Re: [PATCH 2/7] regedit: Use a helper function to allocate memory and check for a valid pointer