diff --git a/lib/pfcp/xact.c b/lib/pfcp/xact.c index 243e56d6b..1436d76e7 100644 --- a/lib/pfcp/xact.c +++ b/lib/pfcp/xact.c @@ -563,8 +563,6 @@ int ogs_pfcp_xact_commit(ogs_pfcp_xact_t *xact) if (ogs_pfcp_sendto(xact->node, pkbuf) != OGS_OK) { ogs_error("ogs_pfcp_sendto() failed"); - ogs_pfcp_xact_delete(xact); - return OGS_ERROR; } return OGS_OK; @@ -607,7 +605,6 @@ static void response_timeout(void *data) if (ogs_pfcp_sendto(xact->node, pkbuf) != OGS_OK) { ogs_error("ogs_pfcp_sendto() failed"); - goto out; } } else { ogs_warn("[%d] %s No Reponse. Give up! " @@ -625,9 +622,6 @@ static void response_timeout(void *data) } return; - -out: - ogs_pfcp_xact_delete(xact); } static void holding_timeout(void *data)