1
0
mirror of https://github.com/php/php-src.git synced 2026-04-03 22:22:18 +02:00

Merge branch 'PHP-7.4'

This commit is contained in:
Nikita Popov
2019-04-12 12:51:42 +02:00
2 changed files with 4 additions and 4 deletions

View File

@@ -101,13 +101,13 @@ if test "$ZEND_DEBUG" = "yes"; then
if test "$CFLAGS" = "-g -O2"; then
CFLAGS=-g
fi
test -n "$GCC" && DEBUG_CFLAGS="$DEBUG_CFLAGS -Wall"
test -n "$GCC" && test "$USE_MAINTAINER_MODE" = "yes" && \
DEBUG_CFLAGS="$DEBUG_CFLAGS -Wmissing-prototypes -Wstrict-prototypes -Wmissing-declarations"
else
AC_DEFINE(ZEND_DEBUG,0,[ ])
fi
test -n "$GCC" && CFLAGS="$CFLAGS -Wall"
test -n "$DEBUG_CFLAGS" && CFLAGS="$CFLAGS $DEBUG_CFLAGS"
if test "$ZEND_ZTS" = "yes"; then

View File

@@ -2595,6 +2595,7 @@ static void do_soap_call(zend_execute_data *execute_data,
int old_features;
HashTable *old_typemap, *typemap = NULL;
smart_str action = {0};
int bailout = 0;
SOAP_CLIENT_BEGIN_CODE();
@@ -2761,7 +2762,7 @@ static void do_soap_call(zend_execute_data *execute_data,
}
} zend_catch {
_bailout = 1;
bailout = 1;
} zend_end_try();
if (SOAP_GLOBAL(encoding) != NULL) {
@@ -2773,12 +2774,11 @@ static void do_soap_call(zend_execute_data *execute_data,
SOAP_GLOBAL(class_map) = old_class_map;
SOAP_GLOBAL(encoding) = old_encoding;
SOAP_GLOBAL(sdl) = old_sdl;
if (_bailout) {
if (bailout) {
smart_str_free(&action);
if (request) {
xmlFreeDoc(request);
}
_bailout = 0;
zend_bailout();
}
SOAP_CLIENT_END_CODE();