com php-src: Use defined macro: ext/session/mod_files.c
| From: | Xinchen Hui | Date: | Sat, 07 Nov 2015 15:43:18 +0000 |
| Subject: | com php-src: Use defined macro: ext/session/mod_files.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-89637@lists.php.net to get a copy of this message | ||
Commit: de8bfb32bd1696a0420b36086a333abf0714a2a1
Author: Xinchen Hui <laruence@gmail.com> Sat, 7 Nov 2015 07:43:18 -0800
Parents: e9fd8ad4462a39f61e757ef89f417c413aa1df6f
Branches: PHP-7.0 master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=de8bfb32bd1696a0420b36086a333abf0714a2a1
Log:
Use defined macro
Changed paths:
M ext/session/mod_files.c
Diff:
diff --git a/ext/session/mod_files.c b/ext/session/mod_files.c
index 8301b73..e68cde2 100644
--- a/ext/session/mod_files.c
+++ b/ext/session/mod_files.c
@@ -443,7 +443,7 @@ PS_CLOSE_FUNC(files)
efree(data->basedir);
efree(data);
- *mod_data = NULL;
+ PS_SET_MOD_DATA(NULL);
return SUCCESS;
}