diff options
author | Remi Collet <fedora@famillecollet.com> | 2015-05-27 13:08:56 +0200 |
---|---|---|
committer | Remi Collet <fedora@famillecollet.com> | 2015-05-27 13:08:56 +0200 |
commit | 34b94266a02351392a4a8371098de9c3f9313a4a (patch) | |
tree | d559b1dff0033e5cef0ddfd57622d07687d7d5f8 /xdebug-pr176.patch | |
parent | 10d4f4df1c2608a6d9366d65f5ddd77578ee1dad (diff) |
php-pecl-xdebug: add patch for efree/str_efree with php 5.6
Diffstat (limited to 'xdebug-pr176.patch')
-rw-r--r-- | xdebug-pr176.patch | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/xdebug-pr176.patch b/xdebug-pr176.patch new file mode 100644 index 0000000..ea8eef7 --- /dev/null +++ b/xdebug-pr176.patch @@ -0,0 +1,22 @@ +From 2358ad26cd4db2806180aca61a7ccaceb19fa526 Mon Sep 17 00:00:00 2001 +From: Remi Collet <fedora@famillecollet.com> +Date: Wed, 27 May 2015 11:34:09 +0200 +Subject: [PATCH] switch from efree to STR_FREE + +--- + xdebug_stack.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/xdebug_stack.c b/xdebug_stack.c +index 56304bf..82707f1 100644 +--- a/xdebug_stack.c ++++ b/xdebug_stack.c +@@ -247,7 +247,7 @@ void xdebug_append_error_description(xdebug_str *str, int html, const char *erro + xdebug_str_add(str, xdebug_sprintf(formats[1], error_type_str, escaped, error_filename, error_lineno), 1); + } + +- efree(escaped); ++ STR_FREE(escaped); + } + + void xdebug_append_printable_stack(xdebug_str *str, int html TSRMLS_DC) |