Project

General

Profile

Actions

Bug #10425

closed

RadosClient::connect leaks Objecter if called twice

Added by Loïc Dachary over 9 years ago. Updated about 9 years ago.

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

0%

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

Description

http://workbench.dachary.org/ceph/ceph/blob/giant/src/librados/RadosClient.cc#L226

If RadosClient::connect is called a second time (maybe after fixing an error condition), the Objecter allocated by the first call will be leaked.


Files

20150121_10425_fix_v1.patch (1.06 KB) 20150121_10425_fix_v1.patch Radoslaw Zarzynski, 01/21/2015 12:04 PM
Actions

Also available in: Atom PDF