Ticket #8489 (closed: fixed)

Opened 7 years ago

Last modified 5 years ago

Fix unreleased use of POCO::XML document and nodelists in Kernel code

Reported by: Karl Palmen Owned by: Russell Taylor
Priority: major Milestone: Release 3.2
Component: Framework Keywords: maintenance
Cc: Blocked By:
Blocking: #8359, #10637 Tester: Peter Parker

Description (last modified by Karl Palmen) (diff)

In the code of framework/Kernel I found a few cases of POCO::XML document or nodelist objects being created, but not released. This could cause memory leakage. Fix by using AutPtr for the object.

Change History

comment:1 Changed 7 years ago by Karl Palmen

  • Description modified (diff)

comment:2 Changed 7 years ago by Karl Palmen

  • Description modified (diff)

comment:3 Changed 7 years ago by Owen Arnold

  • Status changed from new to inprogress
Last edited 7 years ago by Russell Taylor (previous) (diff)

comment:4 Changed 7 years ago by Russell Taylor

  • Owner set to Russell Taylor
  • Blocking 8359 added
  • Milestone changed from Backlog to Release 3.2

comment:5 Changed 7 years ago by Russell Taylor

  • Status changed from inprogress to verify
  • Resolution set to fixed

Seems like I referenced the wrong ticket in all the commits for this - Oops!

Anyway, the branch nunmber is right: https://github.com/mantidproject/mantid/tree/bugfix/8459_poco_xml_leaks

To test:

comment:6 Changed 7 years ago by Peter Parker

  • Status changed from verify to verifying
  • Tester set to Peter Parker

comment:7 Changed 7 years ago by Peter Parker

  • Status changed from verifying to closed

The Kernel code is now leak-free and all tests passed.

comment:8 Changed 7 years ago by Peter Parker

Merge remote-tracking branch 'origin/bugfix/8459_poco_xml_leaks'

Full changeset: 98845ef6c0c7ac9329e3fc764431bd1844d253a9

comment:9 Changed 6 years ago by Federico M Pouzols

  • Blocking 10637 added

comment:10 Changed 5 years ago by Stuart Campbell

This ticket has been transferred to github issue 9333

Note: See TracTickets for help on using tickets.