[Pkg-php-commits] [php/debian-sid] Refreshed gentoo/009_ob-memory-leaks.patch

Ondřej Surý ondrej at sury.org
Fri Jan 8 13:50:24 UTC 2010


---
 debian/patches/gentoo/009_ob-memory-leaks.patch |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/debian/patches/gentoo/009_ob-memory-leaks.patch b/debian/patches/gentoo/009_ob-memory-leaks.patch
index d1d595c..922e8f9 100644
--- a/debian/patches/gentoo/009_ob-memory-leaks.patch
+++ b/debian/patches/gentoo/009_ob-memory-leaks.patch
@@ -3,9 +3,9 @@ PHP_5_2
 http://cvs.php.net/viewvc.cgi/php-src/main/output.c?r1=1.167.2.3.2.8&r2=1.167.2.3.2.9&diff_format=u
 Fixed memory leak in ob_get_clean/ob_get_flush.
 
---- php.orig/main/output.c
-+++ php/main/output.c
-@@ -806,10 +806,12 @@ PHP_FUNCTION(ob_end_flush)
+--- a/main/output.c
++++ b/main/output.c
+@@ -800,10 +800,12 @@ PHP_FUNCTION(ob_end_flush)
  	
  	if (!OG(ob_nesting_level)) {
  		php_error_docref("ref.outcontrol" TSRMLS_CC, E_NOTICE, "failed to delete and flush buffer. No buffer to delete or flush.");
@@ -18,7 +18,7 @@ Fixed memory leak in ob_get_clean/ob_get_flush.
  		RETURN_FALSE;
  	}
  	
-@@ -828,10 +830,12 @@ PHP_FUNCTION(ob_end_clean)
+@@ -822,10 +824,12 @@ PHP_FUNCTION(ob_end_clean)
  		
  	if (!OG(ob_nesting_level)) {
  		php_error_docref("ref.outcontrol" TSRMLS_CC, E_NOTICE, "failed to delete buffer. No buffer to delete.");
-- 
1.6.3.3





More information about the Pkg-php-commits mailing list