diff --git a/library/Hasql/Decoders/Results.hs b/library/Hasql/Decoders/Results.hs index 2b41520..6d03a70 100644 --- a/library/Hasql/Decoders/Results.hs +++ b/library/Hasql/Decoders/Results.hs @@ -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)