mirror of
https://github.com/nikita-volkov/hasql.git
synced 2024-11-25 17:26:28 +03:00
Drop the unsafe freeing of result
This commit is contained in:
parent
d5f5c90ed4
commit
11ea136193
@ -51,7 +51,6 @@ single resultDec =
|
||||
case resultMaybe of
|
||||
Just result ->
|
||||
mapLeft ResultError <$> Result.run resultDec (integerDatetimes, result)
|
||||
<* LibPQ.unsafeFreeResult result
|
||||
Nothing ->
|
||||
fmap (Left . ClientError) (LibPQ.errorMessage connection)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user