1
0
mirror of https://github.com/postgres/postgres.git synced 2025-10-19 15:49:24 +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:
Heikki Linnakangas
2025-08-22 14:47:19 +03:00
parent e411a8d25a
commit 807ee417e5

View File

@@ -1645,7 +1645,6 @@ getNotify(PGconn *conn)
}
if (pqGets(&conn->workBuffer, conn))
{
if (svname)
free(svname);
return EOF;
}