待辦事項 #44993

generate_packets.py: use FC_FREE macro

啟用日期: 2022-07-04 00:08 最後更新: 2022-07-05 18:41

回報者:
負責人:
類型:
狀態:
關閉
元件:
里程碑:
優先權:
5 - 中
嚴重程度:
5 - 中
處理結果:
修正
檔案:
1

細節

Split from discussion in #44977; related to hrm#745593.

Reply To cazfi

... change to use FC_FREE() instead of free() + "... = NULL;" for some fields. Not sure if we want to do that, but if we do, it should go to separate ticket and then handle also other similar cases in generate_packets.py.

There are currently 13 such cases, as well as one use of free() without ... = NULL; (which would cause problems if there were any packets with both pre-send and post-send hooks).

Ticket History (3/5 Histories)

2022-07-04 00:08 Updated by: alienvalkyrie
  • New Ticket "generate_packets.py: use FC_FREE macro" created
2022-07-04 02:26 Updated by: alienvalkyrie
  • 處理結果 Update from to Accepted
  • 類型 Update from 問題回報 to 修補檔案
評語

The mentioned special case is nontrivial to work with, so I'll make a separate ticket for that.

2022-07-04 02:29 Updated by: alienvalkyrie
評語

Reply To alienvalkyrie

The mentioned special case is nontrivial to work with, so I'll make a separate ticket for that.

~> #44996

2022-07-05 18:41 Updated by: alienvalkyrie
  • 狀態 Update from 開啟 to 關閉
  • 處理結果 Update from Accepted to 修正

Attachment File List

編輯

Please login to add comment to this ticket » 登入