Re: [PATCH v2] afs: Fix memory leak in afs_put_sysnames()

From: Markus Elfring
Date: Mon Jun 01 2020 - 10:41:06 EST


> sysnames should be freed after refcnt being decreased to zero in
> afs_put_sysnames().

How do you think about a wording variant like the following?

Release the sysnames object after its reference counter was decreased
to zero.


Will it matter to mention the size of the data structure "afs_sysnames"?

Regards,
Markus