diff options
author | Anders Kaseorg <[andersk@ksplice.com]> | 2010-08-17 15:00:03 +0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-08-18 04:31:51 +0400 |
commit | f81380925209bc60732a57eef41ab440c056aacf (patch) | |
tree | d72c28aa2d101acacc733f41678a1764885b74f9 /net/tipc/ref.h | |
parent | 24763d80fbb45aaf477d53c2203c929f6c41b5fc (diff) | |
download | linux-f81380925209bc60732a57eef41ab440c056aacf.tar.xz |
tipc: Fix log buffer memory leak if initialization fails
Moves log buffer cleanup into tipc_core_stop() so that memory allocated
for the log buffer is freed if tipc_core_start() is unsuccessful.
Signed-off-by: Anders Kaseorg <andersk@ksplice.com>
Signed-off-by: Allan Stephens <allan.stephens@windriver.com>
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/tipc/ref.h')
0 files changed, 0 insertions, 0 deletions