On Tue, Nov 17, 2015 at 11:33 PM, Hongzhou Yang <hongzhou.yang@xxxxxxxxxxxx> wrote: > configs will kmemdup to dup_configs in pictrl util function. > So configs need to be freed. > > Signed-off-by: Hongzhou Yang <hongzhou.yang@xxxxxxxxxxxx> > Reviewed-by: Daniel Kurtz <djkurtz@xxxxxxxxxxxx> > Reviewed-by: Matthias Brugger <matthias.bgg@xxxxxxxxx> > --- > Fix a memleak issue. > According to Yingjoe's comment, add return checek for pinconf_generic_parse_dt_config. Patch applied with Yingjoe's review tag. Yours, Linus Walleij -- To unsubscribe from this list: send the line "unsubscribe linux-gpio" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html