Browse Source

MFH: no need to check it for not-NULL

PECL_OPENSSL
Antony Dovgal 20 years ago
parent
commit
43b660b6ea
  1. 6
      ext/pcre/php_pcre.c

6
ext/pcre/php_pcre.c

@ -1115,10 +1115,8 @@ PHPAPI char *php_pcre_replace(char *regex, int regex_len,
}
} else {
pcre_handle_exec_error(count TSRMLS_CC);
if (result) {
efree(result);
result = NULL;
}
efree(result);
result = NULL;
break;
}

Loading…
Cancel
Save