staging:rtl8192u: Possible memory leak?

valdis.kletnieks at vt.edu valdis.kletnieks at vt.edu
Wed Sep 26 13:52:29 EDT 2018


On Wed, 26 Sep 2018 16:52:03 +0100, John Whitmore said:

> This might all be a mute point as I seem to remember someone saying
> that memory allocation never fails in Linux and this can only happen
> if the first two allocations work and the third fails.

If memory allocation never fails, it would be a moot point, not a mute point.

However, memory allocation can indeed fail, and often does.

And you are correct, there is a memory leak.  While looking at that, I found
another minor issue. Patch submitted.




More information about the Kernelnewbies mailing list