linux/drivers/net/wireless/intel
Johannes Berg 53d515ec67 iwlwifi: don't leak memory on allocation failure
If we fail to allocate the small chunk of memory for the
pieces of the firmware file, we leak the whole firmware
image instead...

Since the allocation failure is really unlikely, just bail
out at that point instead.

Remove the error message at the label since we now (and
actually have been) use it for various reasons.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
2017-04-25 22:48:56 +03:00
..
ipw2x00 ipw2200: remove redundant check of rc < 0 2017-03-20 19:16:24 +02:00
iwlegacy lib/vsprintf.c: remove %Z support 2017-02-27 18:43:47 -08:00
iwlwifi iwlwifi: don't leak memory on allocation failure 2017-04-25 22:48:56 +03:00
Kconfig
Makefile