Skip to content

Commit

Permalink
whtlst: fix the dpvs msg memory leak
Browse files Browse the repository at this point in the history
  • Loading branch information
zhouyangchao committed Mar 3, 2023
1 parent b524e36 commit 980684f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/ipvs/ip_vs_whtlst.c
Original file line number Diff line number Diff line change
Expand Up @@ -219,6 +219,7 @@ static int dp_vs_whtlst_del(int af, uint8_t proto, const union inet_addr *vaddr,
return EDPVS_NOMEM;
err = multicast_msg_send(msg, DPVS_MSG_F_ASYNC, NULL);
if (err != EDPVS_OK) {
msg_destroy(&msg);
RTE_LOG(INFO, SERVICE, "[%s] fail to send multicast message\n", __func__);
return err;
}
Expand Down

0 comments on commit 980684f

Please sign in to comment.