Re: [PATCH 1/3] cw1200: Don't leak memory if krealloc failes
From:
Johannes Berg
Date:
Fri Sep 30 2016 - 08:30:13 EST
Next message:
Johannes Thumshirn: "Re: [PATCH 1/3] cw1200: Don't leak memory if krealloc failes"
Previous message:
Richard Genoud: "Re: [PATCHv4 2/3] tty/serial: at91: fix hardware handshake with GPIOs"
In reply to:
Johannes Thumshirn: "[PATCH 1/3] cw1200: Don't leak memory if krealloc failes"
Next in thread:
Johannes Thumshirn: "Re: [PATCH 1/3] cw1200: Don't leak memory if krealloc failes"
Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
>
+ tmp = krealloc(buf->begin, size, GFP_KERNEL | GFP_DMA);
>
+ if (tmp) {
>
I think that check is inverted?
johannes
Next message:
Johannes Thumshirn: "Re: [PATCH 1/3] cw1200: Don't leak memory if krealloc failes"
Previous message:
Richard Genoud: "Re: [PATCHv4 2/3] tty/serial: at91: fix hardware handshake with GPIOs"
In reply to:
Johannes Thumshirn: "[PATCH 1/3] cw1200: Don't leak memory if krealloc failes"
Next in thread:
Johannes Thumshirn: "Re: [PATCH 1/3] cw1200: Don't leak memory if krealloc failes"
Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]