Project

General

Profile

Bug #40936

tools/cephfs: memory leak in cephfs/Resetter.cc

Added by guodong xiao 4 months ago. Updated 4 months ago.

Status:
Pending Backport
Priority:
Normal
Assignee:
Category:
-
Target version:
Start date:
Due date:
% Done:

0%

Source:
Community (dev)
Tags:
Backport:
nautilus,mimic,luminous
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Component(FS):
tools
Labels (FS):
Pull request ID:
Crash signature:

Description

there is a memory leak in cephfs/Resetter.cc:
LogEvent *le = new EResetJournal;

forget using 'delete' to release the memory *le point to.


Related issues

Copied to fs - Backport #41099: nautilus: tools/cephfs: memory leak in cephfs/Resetter.cc Resolved
Copied to fs - Backport #41100: mimic: tools/cephfs: memory leak in cephfs/Resetter.cc Resolved
Copied to fs - Backport #41101: luminous: tools/cephfs: memory leak in cephfs/Resetter.cc New

History

#1 Updated by guodong xiao 4 months ago

function -- Resetter::_write_reset_event(Journaler *journaler)

#2 Updated by Patrick Donnelly 4 months ago

  • Subject changed from memory leak in cephfs/Resetter.cc to tools/cephfs: memory leak in cephfs/Resetter.cc
  • Status changed from New to Need Review
  • Assignee set to guodong xiao
  • Target version set to v15.0.0
  • Start date deleted (07/25/2019)
  • Source set to Community (dev)
  • Backport set to nautilus,mimic,luminous
  • Pull request ID set to 29302

#3 Updated by Patrick Donnelly 4 months ago

  • Status changed from Need Review to Pending Backport

#4 Updated by Patrick Donnelly 3 months ago

  • Copied to Backport #41099: nautilus: tools/cephfs: memory leak in cephfs/Resetter.cc added

#5 Updated by Patrick Donnelly 3 months ago

  • Copied to Backport #41100: mimic: tools/cephfs: memory leak in cephfs/Resetter.cc added

#6 Updated by Patrick Donnelly 3 months ago

  • Copied to Backport #41101: luminous: tools/cephfs: memory leak in cephfs/Resetter.cc added

Also available in: Atom PDF