mirror of
https://github.com/postgres/postgres.git
synced 2026-03-12 05:32:27 -04:00
Revert unnecessary check for NULL
Jelte pointed out that this was unnecessary, but I failed to remove it
before pushing f6f0542266. Oops.
Reviewed-by: Jelte Fennema-Nio <postgres@jeltef.nl>
Discussion: https://www.postgresql.org/message-id/CAGECzQT%3DxNV-V%2BvFC7YQwYQMj0wGN61b3p%3DJ1_rL6M0vbjTtrA@mail.gmail.com
Backpatch-through: 18
This commit is contained in:
parent
e7ff96853e
commit
5a26a3e4ee
1 changed files with 1 additions and 2 deletions
|
|
@ -1645,8 +1645,7 @@ getNotify(PGconn *conn)
|
|||
}
|
||||
if (pqGets(&conn->workBuffer, conn))
|
||||
{
|
||||
if (svname)
|
||||
free(svname);
|
||||
free(svname);
|
||||
return EOF;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue