Arend van Spriel <arend.vanspriel@xxxxxxxxxxxx> writes: > When nvram loading fails a double free occurred. Fix this and reorg the > code a little. > > Fixes: commit d09ae51a4b67 ("brcmfmac: pass struct in brcmf_fw_get_firmwares()") This should be: Fixes: d09ae51a4b67 ("brcmfmac: pass struct in brcmf_fw_get_firmwares()") I can fix that during commit. > Reported-by: Dan Carpenter <dan.carpenter@xxxxxxxxxx> > Signed-off-by: Arend van Spriel <arend.vanspriel@xxxxxxxxxxxx> > --- > Hi Kalle, > > This fix is for code currently(?) in linux-next in error path caused > a double free. Ok, I'll queue this to wireless-drivers (after I have fast forwarded it) for 4.17. -- Kalle Valo