]> granicus.if.org Git - php/commitdiff
Use defined macro
authorXinchen Hui <laruence@gmail.com>
Sat, 7 Nov 2015 15:43:18 +0000 (07:43 -0800)
committerXinchen Hui <laruence@gmail.com>
Sat, 7 Nov 2015 15:43:18 +0000 (07:43 -0800)
ext/session/mod_files.c

index 8301b73f5ee3edce422e66f4f53cf08842c0da55..e68cde29722c25a35653e3f2a0c41f6287ba6191 100644 (file)
@@ -443,7 +443,7 @@ PS_CLOSE_FUNC(files)
 
        efree(data->basedir);
        efree(data);
-       *mod_data = NULL;
+       PS_SET_MOD_DATA(NULL);
 
        return SUCCESS;
 }