Skip to contentSkip to conversation

memory leak from orphan_path()

DISCUSSION Gioh Kim 1 participant 1 message Jul 14, 2016 Device mapper

lore
Share & tools
lore

Gioh Kim

author
#0 lore raw

Hello,

I've found that orphan_path() function just set pp->getuid as NULL. But it can have a string allocated by strdup.
I think it should be freed by free().

I sent a patch and experiment result but I got a reply that my email is 'unprocessed'. So I could not attach my patch but it's very easy for you to catch.

I'd appreciate if you would give me any feedback.

Signature · 2 lines
Best regards,
Gioh Kim