multipathd: cancel free(pp->getuid) in orphan_path()
Hello,
I have found "free(pp->getuid)" is added into orphan_path().
I think it'd better to revert the patch: http://git.opensvc.com/gitweb.cgi?p=multipath-tools/.git;a=commit;h=44b753d34ff82ecc229407fe8247b11f15f435ce
The latest code does not allocation memory for pp->getuid, but just share the global value.
Therefore pp->getuid should not be freed.
I proposed it but I am wrong.
I'm very sorry to confuse you.
Signature · 3 lines
Best regards, Gioh Kim TEL: 0176 2697 8962
Reverted,
Thanks.
Quoted 30 lines · Gioh Kim
Hello,
I have found "
free(pp->getuid)" is added intoorphan_path().I think it'd better to revert the patch: http://git.opensvc.com/gitweb.
cgi?p=multipath-tools/.git;a=commit;h=44b753d34ff82ecc229407fe8247b11f15f435ceThe latest code does not allocation memory for
pp->getuid, but just share the global value.Therefore
pp->getuidshould not be freed.I proposed it but I am wrong.
I'm very sorry to confuse you.
--
Best regards,
Gioh Kim
TEL: 0176 2697 8962--
dm-devel mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/dm-devel