]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
caif: Fixed potential memory leak
authorKim Lilliestierna XX <kim.xx.lilliestierna@stericsson.com>
Mon, 25 Jun 2012 07:49:35 +0000 (07:49 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 25 Jun 2012 23:44:11 +0000 (16:44 -0700)
commitf315fd355ffaec6a9ad541081975ac821404256e
treed3fe7940aa9b9d2c9e2329c900df3e4859da42a8
parentc95567c8035281d20ca8266cb39f8d48307a70af
caif: Fixed potential memory leak

Rearranged the allocation and packet creations to
avoid potential leaks in error path.

Signed-off-by: Kim Lilliestierna <kim.xx.lilliestierna@stericsson.com>
Signed-off-by: Sjur Brændeland <sjur.brandeland@stericssion.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/caif/cfctrl.c