On Wed, Oct 27, 2010 at 1:38 PM, Jones Desougi <jones.desougi@xxxxxx> wrote: > If ath5k_hw_attach fails it will free sc->ah (local variable ah) before > returning. However, when it reports failure the caller (ath5k_pci_probe) > will also free sc->ah. Let the caller handle the deallocation, it does > so on further errors as well. > > Signed-off-by: Jones Desougi <jones.desougi@xxxxxx> Reviewed-by: Bob Copeland <me@xxxxxxxxxxxxxxx> Thanks, yes, looks like that was due to commit 9adca126d, "ath5k: allocate ath5k_hw prior to initializing hw". This should probably go to stable. -- Bob Copeland %% www.bobcopeland.com -- To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html