com php-src: cleanup TSRMLS_FETCH in ext/session: ext /session/mod_mm.c
| From: | Anatol Belski | Date: | Fri, 26 Sep 2014 19:15:21 +0000 |
| Subject: | com php-src: cleanup TSRMLS_FETCH in ext/session: ext /session/mod_mm.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-81980@lists.php.net to get a copy of this message | ||
Commit: 2edcd125d7f7f87f90154460ad4f368ea4525731
Author: Anatol Belski <ab@php.net> Fri, 26 Sep 2014 21:15:21 +0200
Parents: af38111a858cecfdb3885b0918a3d2c03adb911b
Branches: native-tls
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=2edcd125d7f7f87f90154460ad4f368ea4525731
Log:
cleanup TSRMLS_FETCH in ext/session
Changed paths:
M ext/session/mod_mm.c
Diff:
diff --git a/ext/session/mod_mm.c b/ext/session/mod_mm.c
index bf48436..ff5cb32 100644
--- a/ext/session/mod_mm.c
+++ b/ext/session/mod_mm.c
@@ -122,8 +122,6 @@ static ps_sd *ps_sd_new(ps_mm *data, const char *key)
sd = mm_malloc(data->mm, sizeof(ps_sd) + keylen);
if (!sd) {
- TSRMLS_FETCH();
-
php_error_docref(NULL TSRMLS_CC, E_WARNING, "mm_malloc failed, avail %ld, err %s",
mm_available(data->mm), mm_error());
return NULL;
}