Re: [PATCH] unbalanced try_get_module/put_module in cpufreq

From: Dave Jones
Date: Wed Apr 21 2004 - 11:10:36 EST


On Wed, Apr 21, 2004 at 10:47:02AM -0600, Charles Coffing wrote:
> Hi,
>
> This patch is against 2.6.5. There's a small bug in cpufreq_add_dev: If kmalloc fails, try_get_module() is not balanced by a module_put().
>

Thanks, applied. (Slightly different variant, but same end result).

Dave

-
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/