aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/timerqueue.h
diff options
context:
space:
mode:
authorRaphaël Beamonte <raphael.beamonte@gmail.com>2015-08-18 23:14:50 -0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-09-12 18:24:28 -0700
commit297a1c34da83459e3f7160e2b75127b8935ef688 (patch)
treee7ed6510b4487f6858cce9c072dbb36b25d14c3b /include/linux/timerqueue.h
parentstaging: 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/timerqueue.h')
0 files changed, 0 insertions, 0 deletions