lkml.org 
[lkml]   [2020]   [Jun]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH v2] afs: Fix memory leak in afs_put_sysnames()
From
Date
> 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

\
 
 \ /
  Last update: 2020-06-01 16:42    [W:0.066 / U:0.272 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site