Project

General

Profile

Bug #14066

mount/mtab.cc: memory leaks

Added by qiankun zheng over 8 years ago. Updated over 8 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
% Done:

0%

Source:
other
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
kcephfs
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

the free() should be called to free resources, in order to avoid memory leaks

Associated revisions

Revision 14e9d292 (diff)
Added by qiankun zheng over 8 years ago

mount/mtab.cc: memory leaks
the free() should be called to free resources, in order to avoid memory leaks

Fixes:#14066
Signed-off-by: Qiankun Zheng <>

History

#1 Updated by qiankun zheng over 8 years ago

qiankun zheng wrote:

the free() should be called to free resources, in order to avoid memory leaks

https://github.com/ceph/ceph/pull/6905

#2 Updated by Nathan Cutler over 8 years ago

  • Status changed from New to Fix Under Review

#3 Updated by Kefu Chai over 8 years ago

  • Status changed from Fix Under Review to Resolved

since the mem leak happens in the mount.ceph CLI tool, the tool is not a long-running command. and the leak only happens once, so presumably, there is no need to backport the fix.

Also available in: Atom PDF