Skip to content

Commit 807ee41

Browse files
committed
Revert unnecessary check for NULL
Jelte pointed out that this was unnecessary, but I failed to remove it before pushing f6f0542. 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
1 parent e411a8d commit 807ee41

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/interfaces/libpq/fe-protocol3.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1645,8 +1645,7 @@ getNotify(PGconn *conn)
16451645
}
16461646
if (pqGets(&conn->workBuffer, conn))
16471647
{
1648-
if (svname)
1649-
free(svname);
1648+
free(svname);
16501649
return EOF;
16511650
}
16521651

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy