diff options
author | Josh Hoyt <josh@janrain.com> | 2006-09-27 00:01:13 +0000 |
---|---|---|
committer | Josh Hoyt <josh@janrain.com> | 2006-09-27 00:01:13 +0000 |
commit | 21b4ebdcc5495e9da4d2abc7fecf98d228ea0fb2 (patch) | |
tree | d42aeea908b7ba7101925d8021ca9cd5ca829561 /Auth | |
parent | b248f2cc8da87c2afce2aa726e029988fac490bf (diff) | |
download | php-openid-21b4ebdcc5495e9da4d2abc7fecf98d228ea0fb2.zip php-openid-21b4ebdcc5495e9da4d2abc7fecf98d228ea0fb2.tar.gz php-openid-21b4ebdcc5495e9da4d2abc7fecf98d228ea0fb2.tar.bz2 |
[project @ Close the file handle in FileStore->createAuthKey()]
Diffstat (limited to 'Auth')
-rw-r--r-- | Auth/OpenID/FileStore.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Auth/OpenID/FileStore.php b/Auth/OpenID/FileStore.php index da99a57..2d49b77 100644 --- a/Auth/OpenID/FileStore.php +++ b/Auth/OpenID/FileStore.php @@ -162,6 +162,7 @@ class Auth_OpenID_FileStore extends Auth_OpenID_OpenIDStore { fwrite($file_obj, $auth_key); fflush($file_obj); + fclose($file_obj); if (!link($tmp, $this->auth_key_name)) { // The link failed, either because we lack the permission, |