forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit4eca51d
committed
Don't leak malloc'd error string in libpqrcv_check_conninfo().
We leaked the error report from PQconninfoParse, when there wasone. It seems unlikely that real usage patterns would repeatthe failure often enough to create serious bloat, but let'sback-patch anyway to keep the code similar in all branches.Found via valgrind testing.Back-patch to v10 where this code was added.Discussion:https://postgr.es/m/3816764.1616104288@sss.pgh.pa.us1 parentfc552f8 commit4eca51d
1 file changed
+7
-1
lines changedLines changed: 7 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
244 | 244 |
| |
245 | 245 |
| |
246 | 246 |
| |
| 247 | + | |
| 248 | + | |
| 249 | + | |
| 250 | + | |
| 251 | + | |
247 | 252 |
| |
248 | 253 |
| |
249 |
| - | |
| 254 | + | |
| 255 | + | |
250 | 256 |
| |
251 | 257 |
| |
252 | 258 |
| |
|
0 commit comments
Comments
(0)