[rds-devel] [PATCH 1/1] rds: fix memory leak error

sowmini sowmini.varadhan at oracle.com
Fri Feb 24 09:21:49 PST 2017



On 02/24/2017 04:28 AM, Zhu Yanjun wrote:
> When the function register_netdevice_notifier fails, the memory
> allocated by kmem_cache_create should be freed by the function
> kmem_cache_destroy.
>
> Cc: Joe Jin <joe.jin at oracle.com>
> Cc: Junxiao Bi <junxiao.bi at oracle.com>
> Signed-off-by: Zhu Yanjun <yanjun.zhu at oracle.com>

Acked-by: Sowmini Varadhan <sowmini.varadhan at oracle.com>




More information about the rds-devel mailing list