kfifo: fix a memory leak in dma example
We use a dynamically allocated kfifo in the dma example, so we need to free it when unloading the module. Signed-off-by: NAndrea Righi <arighi@develer.com> Acked-by: NStefani Seibold <stefani@seibold.net> Signed-off-by: NAndrew Morton <akpm@linux-foundation.org> Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
Showing
想要评论请 注册 或 登录