Skip to content

Commit

Permalink
[irods#6672] Prevent free of RsComm member in Ticket Admin API
Browse files Browse the repository at this point in the history
  • Loading branch information
alanking committed Oct 6, 2023
1 parent 5739427 commit 1f2c129
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/api/src/rsTicketAdmin.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ int rsTicketAdmin(rsComm_t* rsComm, ticketAdminInp_t* ticketAdminInp)
}
else {
if (strcmp(ticketAdminInp->arg1, "session") == 0) {
ticketAdminInp->arg3 = rsComm->clientAddr;
ticketAdminInp->arg3 = strdup(rsComm->clientAddr);
}

status = rcTicketAdmin(rodsServerHost->conn, ticketAdminInp);
Expand Down

0 comments on commit 1f2c129

Please sign in to comment.