com php-src: Use defined macro: ext/session/mod_files.c
| From: | Anatol Belski | Date: | Sun, 08 Nov 2015 08:31:28 +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-89669@lists.php.net to get a copy of this message | ||
Commit: 40e5e54713198872cb87a7759e4a1c9a07e971a9
Author: Xinchen Hui <laruence@gmail.com> Sat, 7 Nov 2015 07:43:18 -0800
Committer: Anatol Belski <ab@php.net> Sun, 8 Nov 2015 09:31:28 +0100
Parents: 33b9f70e95496f388c21318e53d101983f95fc07
Branches: PHP-7.0.0
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=40e5e54713198872cb87a7759e4a1c9a07e971a9
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;
}