[PATCH] Clean up memory allocations in locate_hole()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]


On 2/1/07, Horms <horms at verge.net.au> wrote:
> * Exit if malloc fails - previously the error was ignored
> * Free allocated memory before returning

Good idea.

> Signed-off-by: Simon Horman <horms at verge.net.au>
Acked-by: Magnus Damm <magnus at valinux.co.jp>


[Netdev]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Photo]     [Yosemite]     [Yosemite Forum]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]     [Linux Media]     [Linux Resources]

Powered by Linux