diff options
| -rw-r--r-- | ext/standard/file.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/standard/file.c b/ext/standard/file.c index afd7cba000..c14a0d7f97 100644 --- a/ext/standard/file.c +++ b/ext/standard/file.c @@ -664,6 +664,7 @@ PHP_FUNCTION(file_put_contents) php_error_docref(NULL TSRMLS_CC, E_WARNING, "Only %d of %d bytes written, possibly out of free disk space", bytes_written, str->len); } numbytes = -1; + STR_RELEASE(str); break; } } |
