diff options
| author | Dmitry Stogov <dmitry@zend.com> | 2015-03-12 16:53:51 +0300 |
|---|---|---|
| committer | Dmitry Stogov <dmitry@zend.com> | 2015-03-12 16:53:51 +0300 |
| commit | 8633685675692e9a926cf9f97b1c406c37497ddf (patch) | |
| tree | e0c82ad945a575f90f90dfd402c7e2dc013a3acc /ext/shmop | |
| parent | 0e30c543ec8e6c371e0aef6e125e7b90f4b1b790 (diff) | |
| download | php-git-8633685675692e9a926cf9f97b1c406c37497ddf.tar.gz | |
Use specialized macro for string zval creation
Diffstat (limited to 'ext/shmop')
| -rw-r--r-- | ext/shmop/shmop.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/shmop/shmop.c b/ext/shmop/shmop.c index 2000bd24f0..751cb05c0d 100644 --- a/ext/shmop/shmop.c +++ b/ext/shmop/shmop.c @@ -256,7 +256,7 @@ PHP_FUNCTION(shmop_read) return_string = zend_string_init(startaddr, bytes, 0); - RETURN_STR(return_string); + RETURN_NEW_STR(return_string); } /* }}} */ |
