Skip to content

Commit ece4409

Browse files
author
Daniel Farina
committed
Add a over-fastidious pfree
It is mostly to indicate that this memory is no longer useful. Signed-off-by: Daniel Farina <daniel@heroku.com>
1 parent dfa5b70 commit ece4409

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pg_logfebe.c

+1
Original file line numberDiff line numberDiff line change
@@ -255,6 +255,7 @@ openSocket(int *dst, char *path)
255255
* awry.
256256
*/
257257
sendOrInval(&fd, startup.data, startup.len);
258+
pfree(startup.data);
258259
*dst = fd;
259260
goto exit;
260261

0 commit comments

Comments
 (0)