diff options
author | Lenny Szubowicz <[email protected]> | 2013-06-28 16:14:11 -0400 |
---|---|---|
committer | Tony Luck <[email protected]> | 2013-06-28 15:23:24 -0700 |
commit | 0d838347f1325cebfe8b9341a4b4c1f407022231 (patch) | |
tree | 50d0fad2c4b4df70f3f276eabe59ad3109938718 /lib/memory-notifier-error-inject.c | |
parent | 74fd6c6f84b6d3e57bacb06161451c29949fbe51 (diff) |
efivars: If pstore_register fails, free unneeded pstore buffer
This is patch 3/3 of a patch set that cleans up pstore_register failure paths.
If efivars fails to register with pstore, there is no point to keeping
the 4 KB buffer around. It's only used by the pstore read/write routines.
Signed-off-by: Lenny Szubowicz <[email protected]>
Reported-by: Naotaka Hamaguchi <[email protected]>
Signed-off-by: Tony Luck <[email protected]>
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions