mirror of
https://github.com/postgres/postgres.git
synced 2025-10-18 04:29:09 +03: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:
@@ -1645,8 +1645,7 @@ getNotify(PGconn *conn)
|
||||
}
|
||||
if (pqGets(&conn->workBuffer, conn))
|
||||
{
|
||||
if (svname)
|
||||
free(svname);
|
||||
free(svname);
|
||||
return EOF;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user