Skip to content

Commit 735b29a

Browse files
committed
Remove bad destruct call
The get_job_data function cannot destruct the buffer being passed to it - the caller will do so in the event of a returned error status. Signed-off-by: Ralph Castain <[email protected]>
1 parent 8352b86 commit 735b29a

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/server/pmix_server_get.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -693,7 +693,6 @@ static pmix_status_t get_job_data(char *nspace, pmix_server_caddy_t *cd, pmix_bu
693693
if (rc != PMIX_SUCCESS) {
694694
PMIX_ERROR_LOG(rc);
695695
PMIX_DESTRUCT(&pkt);
696-
PMIX_DESTRUCT(&pbkt);
697696
PMIX_DESTRUCT(&cb);
698697
return rc;
699698
}

0 commit comments

Comments
 (0)