mirror of
https://github.com/samba-team/samba.git
synced 2025-02-23 09:57:40 +03:00
fix segfault
This commit is contained in:
parent
3ac98b5963
commit
32ca3afa54
@ -147,7 +147,9 @@ DATA_BLOB krb5_get_ticket(char *principal, time_t time_offset)
|
||||
return ret;
|
||||
|
||||
failed:
|
||||
krb5_free_context(context);
|
||||
if ( context )
|
||||
krb5_free_context(context);
|
||||
|
||||
return data_blob(NULL, 0);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user