#46433 [Com]: imagecreatefrom(...) leaks memory on errors

From: Date: Thu, 30 Oct 2008 16:49:24 +0000
Subject: #46433 [Com]: imagecreatefrom(...) leaks memory on errors
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-130325@lists.php.net to get a copy of this message
ID: 46433 Comment by: crrodriguez at opensuse dot org Reported By: ak at pre-secure dot de Status: Open Bug Type: GD related Operating System: Linux (OpenSUSE) PHP Version: 5.2.6 New Comment: memory usage is constant for me, are you sure you are using version 5.2.6 ? Previous Comments: ------------------------------------------------------------------------ [2008-10-30 16:42:03] ak at pre-secure dot de Description: ------------ When trying to create an image from a file and an error occures PHP will lose some memory. Reproduce code: --------------- while(true) { print "\nMemory: ".memory_get_usage(); imagecreatefrompng("anyimage.png"); } ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=46433&edit=1

« previous php.bugs (#130325) next »