diff options
-rw-r--r-- | ext/gd/gd.c | 2 | ||||
-rw-r--r-- | ext/gd/gd_ctx.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/ext/gd/gd.c b/ext/gd/gd.c index 07fbe231b4..35edc9403c 100644 --- a/ext/gd/gd.c +++ b/ext/gd/gd.c @@ -1265,7 +1265,7 @@ PHP_FUNCTION(imagegrabwindow) gdImagePtr im = NULL; if (zend_parse_parameters(ZEND_NUM_ARGS(), "l|l", &lwindow_handle, &client_area) == FAILURE) { - RETURN_FALSE; + return; } window = (HWND) lwindow_handle; diff --git a/ext/gd/gd_ctx.c b/ext/gd/gd_ctx.c index dcdf8ad803..52265de4ba 100644 --- a/ext/gd/gd_ctx.c +++ b/ext/gd/gd_ctx.c @@ -120,7 +120,7 @@ static void _php_image_output_ctx(INTERNAL_FUNCTION_PARAMETERS, int image_type, } if ((im = (gdImagePtr)zend_fetch_resource(Z_RES_P(imgind), "Image", phpi_get_le_gd())) == NULL) { - RETURN_FALSE; + return; } if (image_type != PHP_GDIMG_TYPE_BMP && argc >= 3) { |