zhangyue1818 commented on code in PR #1365:
URL: https://github.com/apache/cloudberry/pull/1365#discussion_r2367114633
##########
contrib/interconnect/udp/ic_udpifc.c:
##########
@@ -924,6 +993,353 @@ dumpTransProtoStats()
#endif /*
TRANSFER_PROTOCOL_STATS */
+static struct rto_hashstore*
+initRTOHashstore()
+{
+ int i;
+ struct rto_hashstore* hs = palloc(sizeof(struct rto_hashstore));
+ if (!hs)
+ return 0;
Review Comment:
not run here if palloc fails.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]