mirror of
https://github.com/samba-team/samba.git
synced 2024-12-28 07:21:54 +03:00
fix segfault
This commit is contained in:
parent
ff4b2411d1
commit
36bcb312e9
@ -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…
Reference in New Issue
Block a user