yesodweb/wai — comment on commit bcfa01bb3ca3710f9e0115a3bc95c1ae8886c374
File: conduit/Control/Monad/Trans/Resource.hs line 61
By meteficha:

I don't think an exception should be thrown. It's good to be able to write code that doesn't need to worry about double-freeing.