Fixed reference leak in the "backslashreplace" error handler.