On Tue, Jun 28, 2016 at 09:48:10AM +0200, Paolo Bonzini wrote: > > > On 20/05/2016 10:20, Xiao Guangrong wrote: > > + if (size <= nvdimm->label_size) { > > + HostMemoryBackend *hostmem = dimm->hostmem; > > + char *path = object_get_canonical_path_component(OBJECT(hostmem)); > > + > > + error_setg(errp, "the size of memdev %s (0x%" PRIx64 ") is too" > > + "small to contain nvdimm label (0x%" PRIx64 ")", > > + path, memory_region_size(mr), nvdimm->label_size); > > Coverity reports here that path is leaked. I will send a patch. Stefan
Attachment:
signature.asc
Description: PGP signature