Rob Shearman : winhlp32: Restore the original window proc for the richedit control before freeing the winhelp window memory .