任务单 #45544

enabler_first_clarification() memory leak

开放日期: 2022-09-01 11:15 最后更新: 2022-09-29 12:13

报告人:
属主:
类型:
状态:
关闭
组件:
里程碑:
优先:
5 - Medium
严重性:
5 - Medium
处理结果:
Fixed
文件:
5

Details

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.

任务单历史 (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
评论

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
  • 属主 Update from (无) to cazfi
  • 处理结果 Update from to Accepted
2022-09-20 03:39 Updated by: cazfi
  • 处理结果 Update from Accepted to
评论

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
  • 处理结果 Update from to Accepted
评论

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
  • 状态 Update from 开启 to 关闭
  • 处理结果 Update from Accepted to Fixed
2022-09-26 05:33 Updated by: cazfi
  • 状态 Update from 关闭 to 开启
  • 处理结果 Update from Fixed to Accepted
评论

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
评论

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
  • 状态 Update from 开启 to 关闭
  • 处理结果 Update from Accepted to Fixed

编辑

Please login to add comment to this ticket » 登录名