Re: [PATCH] x86: mkpiggy.c: fix resource leakage

From: H. Peter Anvin
Date: Mon Oct 07 2013 - 18:45:14 EST


On 10/07/2013 03:16 PM, Geyslan G. Bem wrote:
> Even though the resource is released when the application is closed or
> when returned from main function, modified to make it in accordance.
> Now FILE pointer is always verified.

By the way, the subject is misleading - there is no resource leakage
since the program is terminated anyway.

-hpa


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/