efivars: If pstore_register fails, free unneeded pstore buffer
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 <36bcb8f75a20f831e83d4373e6075c3532a7734b@redhat.com>
Reported-by: Naotaka Hamaguchi <47d7e87956e742b02e63947b63ca89ee8f12c529@jp.fujitsu.com>
Signed-off-by: Tony Luck <e7984595ec0368ff920a7b3521dc7093683f6f26@intel.com>

KristFoundation/Programs,KristFoundation/Programs,KristFoundation/Programs,KristFoundation/Programs,KristFoundation/Programs,KristFoundation/Programs