cvs: php4 /ext/standard image.c

From: Date: Sat, 01 Jul 2000 12:23:09 +0000
Subject: cvs: php4 /ext/standard image.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-579@lists.php.net to get a copy of this message
andi Sat Jul 1 05:23:09 2000 EDT Modified files: /php4/ext/standard image.c Log: - Commit tiny patch to remove redundant code by Amit Schreiber. Index: php4/ext/standard/image.c diff -u php4/ext/standard/image.c:1.21 php4/ext/standard/image.c:1.22 --- php4/ext/standard/image.c:1.21 Sun Jun 18 13:09:17 2000 +++ php4/ext/standard/image.c Sat Jul 1 05:23:09 2000 @@ -15,7 +15,7 @@ | Authors: Rasmus Lerdorf | +----------------------------------------------------------------------+ */ -/* $Id: image.c,v 1.21 2000/06/18 20:09:17 andi Exp $ */ +/* $Id: image.c,v 1.22 2000/07/01 12:23:09 andi Exp $ */ /* * Based on Daniel Schmitt's imageinfo.c which carried the following * Copyright notice. @@ -405,7 +405,7 @@ if (result) { if (array_init(return_value) == FAILURE) { php_error(E_ERROR, "Unable to initialize array"); - if (result) efree(result); + efree(result); return; } add_index_long(return_value, 0, result->width); @@ -420,7 +420,6 @@ if (result->channels != 0) { add_assoc_long(return_value,"channels",result->channels); } - efree(result); } }

« previous php.cvs (#579) next »