diff options
| author | 2015-08-18 23:14:50 -0400 | |
|---|---|---|
| committer | 2015-09-12 18:24:28 -0700 | |
| commit | 297a1c34da83459e3f7160e2b75127b8935ef688 (patch) | |
| tree | e7ed6510b4487f6858cce9c072dbb36b25d14c3b /include/linux/debugobjects.h | |
| parent | staging: wilc1000: remove FREE_WILC_BUFFER() (diff) | |
staging: wilc1000: replace MALLOC_WILC_BUFFER() macro to avoid possible memory leak
The MALLOC_WILC_BUFFER() macro was using a return statement, and didn't
take care of possible memory leaks and subsequent bugs when it was failing
after succeeding some allocations. This patch corrects this behavior.
Signed-off-by: Raphaël Beamonte <raphael.beamonte@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions
