diff options
-rw-r--r-- | kernel/relay.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/kernel/relay.c b/kernel/relay.c index 510fbbd7b500..ad855017bc59 100644 --- a/kernel/relay.c +++ b/kernel/relay.c | |||
@@ -1,7 +1,7 @@ | |||
1 | /* | 1 | /* |
2 | * Public API and common code for kernel->userspace relay file support. | 2 | * Public API and common code for kernel->userspace relay file support. |
3 | * | 3 | * |
4 | * See Documentation/filesystems/relayfs.txt for an overview of relayfs. | 4 | * See Documentation/filesystems/relay.txt for an overview. |
5 | * | 5 | * |
6 | * Copyright (C) 2002-2005 - Tom Zanussi (zanussi@us.ibm.com), IBM Corp | 6 | * Copyright (C) 2002-2005 - Tom Zanussi (zanussi@us.ibm.com), IBM Corp |
7 | * Copyright (C) 1999-2005 - Karim Yaghmour (karim@opersys.com) | 7 | * Copyright (C) 1999-2005 - Karim Yaghmour (karim@opersys.com) |
@@ -426,6 +426,7 @@ static struct rchan_buf *relay_open_buf(struct rchan *chan, unsigned int cpu) | |||
426 | 426 | ||
427 | free_buf: | 427 | free_buf: |
428 | relay_destroy_buf(buf); | 428 | relay_destroy_buf(buf); |
429 | buf = NULL; | ||
429 | free_name: | 430 | free_name: |
430 | kfree(tmpname); | 431 | kfree(tmpname); |
431 | end: | 432 | end: |