diff options
Diffstat (limited to 'src/lib')
| -rw-r--r-- | src/lib/krb5/ccache/file/fcc_destry.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/lib/krb5/ccache/file/fcc_destry.c b/src/lib/krb5/ccache/file/fcc_destry.c index 596c4c6a6..3b6c584d0 100644 --- a/src/lib/krb5/ccache/file/fcc_destry.c +++ b/src/lib/krb5/ccache/file/fcc_destry.c @@ -41,7 +41,10 @@ krb5_error_code krb5_fcc_destroy(id) #else lseek(((krb5_fcc_data *) id->data)->fd, 0, L_SET); #endif - + ret = unlink(((krb5_fcc_data *) id->data)->filename); + if (ret < 0) + return errno; + ret = fstat(((krb5_fcc_data *) id->data)->fd, &buf); if (ret < 0) return errno; |
