diff options
author | Tom Zanussi <tzanussi@gmail.com> | 2009-08-08 10:49:53 -0500 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-08-08 17:56:13 +0200 |
commit | 26528e773ecc74fb1b61b7275f86f761cbb340ec (patch) | |
tree | e3892e1c58783cc022517dab31b1e18179cb930b /drivers/mmc/host/sdhci.h | |
parent | 96b2de313b1e0e02aea80ee47df6a2b5cbdf8e13 (diff) |
tracing/filters: Always free pred on filter_add_subsystem_pred() failure
If filter_add_subsystem_pred() fails due to ENOSPC or ENOMEM,
the pred doesn't get freed, while as a side effect it does for
other errors. Make it so the caller always frees the pred for
any error.
Signed-off-by: Tom Zanussi <tzanussi@gmail.com>
Cc: Steven Rostedt <rostedt@goodmis.org>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Li Zefan <lizf@cn.fujitsu.com>
LKML-Reference: <1249746593.6453.32.camel@tropicana>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'drivers/mmc/host/sdhci.h')
0 files changed, 0 insertions, 0 deletions