[ https://issues.apache.org/jira/browse/HAWQ-145?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14999791#comment-14999791 ]
ASF GitHub Bot commented on HAWQ-145: ------------------------------------- Github user zhangh43 commented on a diff in the pull request: https://github.com/apache/incubator-hawq/pull/94#discussion_r44493523 --- Diff: src/backend/resourcemanager/communication/rmcomm_QD2RM.c --- @@ -1438,6 +1438,7 @@ void freeHeartBeatThreadArg(HeartBeatThreadArg *arg) { free((*arg)->HostAddrs[i]); } + free((*arg)->HostAddrs); --- End diff -- sorry. It's OK to free(malloc(0)). +1 > Memory leak when free the argument instance of resource lease heart-beat > thread in dispatcher process > ----------------------------------------------------------------------------------------------------- > > Key: HAWQ-145 > URL: https://issues.apache.org/jira/browse/HAWQ-145 > Project: Apache HAWQ > Issue Type: Bug > Components: Resource Manager > Reporter: Yi Jin > Assignee: Yi Jin > -- This message was sent by Atlassian JIRA (v6.3.4#6332)