Drop the unsafe freeing of result

This commit is contained in:
Nikita Volkov 2015-12-06 08:06:22 +03:00
parent d5f5c90ed4
commit 11ea136193

View File

@ -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)