fix memory leak when a custom scalar throw an exception
11 files changed