Re: [PATCH] selftests/mm: Add missing free.

From: David Hildenbrand
Date: Fri Sep 27 2024 - 08:24:16 EST


On 27.09.24 05:01, zhangjiao2 wrote:
From: zhang jiao <zhangjiao2@xxxxxxxxxxxxxxxxxxxx>

There is a memory leak in mkdirty, just free src before return.

Now explain to me why we care. The program will return immediately afterwards?

--
Cheers,

David / dhildenb