Ticket #44993

generate_packets.py: use FC_FREE macro

Eröffnet am: 2022-07-04 00:08 Letztes Update: 2022-07-05 18:41

Auswertung:
Verantwortlicher:
Typ:
Status:
Geschlossen
Komponente:
Meilenstein:
Priorität:
5 - Mittel
Schweregrad:
5 - Mittel
Lösung:
Gefixt
Datei:
1

Details

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-Verlauf (3/5 Historien)

2022-07-04 00:08 Aktualisiert von: alienvalkyrie
  • New Ticket "generate_packets.py: use FC_FREE macro" created
2022-07-04 02:26 Aktualisiert von: alienvalkyrie
  • Lösung Update from Keine to Accepted
  • Typ Update from Fehler to Patches
Kommentar

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

2022-07-04 02:29 Aktualisiert von: alienvalkyrie
Kommentar

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 Aktualisiert von: alienvalkyrie
  • Status Update from Offen to Geschlossen
  • Lösung Update from Accepted to Gefixt

Bearbeiten

Please login to add comment to this ticket » Anmelden