]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
common: fix uninitialized nref in crimson CephContext 67453/head
authorAlexander Indenbaum <aindenba@redhat.com>
Sat, 21 Feb 2026 19:13:50 +0000 (21:13 +0200)
committerAlexander Indenbaum <aindenba@redhat.com>
Sun, 22 Feb 2026 13:59:46 +0000 (15:59 +0200)
commit0949e189f6eb4b138188b6b707fe4f15058f67a8
treef9011b7ec59cea5d7fb7d9736238c3508c04a407
parent0f286bb3d9f8f02f093dbdaade12c59d7faa2970
common: fix uninitialized nref in crimson CephContext

Initialize nref(1) in the constructor so put() correctly releases
the context. LeakSanitizer reports a leak.

Signed-off-by: Alexander Indenbaum <aindenba@redhat.com>
src/common/ceph_context.h