Ticket #45544

enabler_first_clarification() memory leak

Date d'ouverture: 2022-09-01 11:15 Dernière mise à jour: 2022-09-29 12:13

Rapporteur:
Propriétaire:
Type:
État:
Atteints
Composant:
Priorité:
5 - moyen
Sévérité:
5 - moyen
Résolution:
Fixed
Fichier:
5

Détails

Valgrind reports minor leak in S3_0 that comes from the req_to_fstring() call within enabler_first_clarification(). Other functions do req_to_fstring() calls with similar pattern.

Ticket History (3/14 Histories)

2022-09-01 11:15 Updated by: cazfi
  • New Ticket "enabler_first_clarification() memory leak" created
2022-09-10 18:47 Updated by: cazfi
Commentaire

Reply To cazfi

Other functions do req_to_fstring() calls with similar pattern.

It's not the pattern that is used in req_to_fstring() calling. It's the fact that req_to_fstring() cannot be used without leaking memory as the API is currently designed.

2022-09-11 16:12 Updated by: cazfi
  • Propriétaire Update from (Aucun) to cazfi
  • Résolution Update from Aucun to Accepted
2022-09-20 03:39 Updated by: cazfi
  • Résolution Update from Accepted to Aucun
Commentaire

Changes to req_to_fstring() itself have been badly backported to S3_0 patch (lacking the astr initialization, function header updates).

2022-09-20 06:32 Updated by: cazfi
  • Résolution Update from Aucun to Accepted
Commentaire

Reply To cazfi

Changes to req_to_fstring() itself have been badly backported to S3_0 patch (lacking the astr initialization, function header updates).

- Fixed

2022-09-26 05:17 Updated by: cazfi
  • État Update from Ouvert to Atteints
  • Résolution Update from Accepted to Fixed
2022-09-26 05:33 Updated by: cazfi
  • État Update from Atteints to Ouvert
  • Résolution Update from Fixed to Accepted
Commentaire

As a server side memory leak, I want to fix these in S2_6 too. Reopening for that part...

2022-09-26 05:36 Updated by: cazfi
Commentaire

Reply To cazfi

As a server side memory leak, I want to fix these in S2_6 too. Reopening for that part...

Attached S2_6 patch has also #45720 part.

2022-09-29 12:13 Updated by: cazfi
  • État Update from Ouvert to Atteints
  • Résolution Update from Accepted to Fixed

Modifier

Please login to add comment to this ticket » Connexion