2
0

Small fix.

This commit is contained in:
Maarten Billemont 2017-08-23 00:05:50 -04:00
parent a8949ca07e
commit 5ee700c9b9
2 changed files with 1 additions and 2 deletions

View File

@ -109,7 +109,7 @@ bool mpw_marshal_info_free(
bool mpw_marshal_free(
MPMarshalledUser **user) {
if (!user)
if (!user || !*user)
return true;
bool success = true;

View File

@ -544,7 +544,6 @@ int main(int argc, char *const argv[]) {
case MPKeyPurposeAuthentication: {
mpw_free_string( &site->content );
site->content = strdup( resultState );
dbg( "site->content: %p", (void *)site->content );
break;
}
case MPKeyPurposeIdentification: {