diff options
Diffstat (limited to 'recipes-qt/qt5/qtwebengine')
| -rw-r--r-- | recipes-qt/qt5/qtwebengine/0005-qtbug-61521.cpp-use-free-instead-of-cfree.patch | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/recipes-qt/qt5/qtwebengine/0005-qtbug-61521.cpp-use-free-instead-of-cfree.patch b/recipes-qt/qt5/qtwebengine/0005-qtbug-61521.cpp-use-free-instead-of-cfree.patch deleted file mode 100644 index d8d89b8e..00000000 --- a/recipes-qt/qt5/qtwebengine/0005-qtbug-61521.cpp-use-free-instead-of-cfree.patch +++ /dev/null | |||
| @@ -1,25 +0,0 @@ | |||
| 1 | From 331de4be615b8552e498ac2f3deff4b49b4b0fc0 Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Martin Jansa <Martin.Jansa@gmail.com> | ||
| 3 | Date: Sun, 20 Aug 2017 20:37:38 +0200 | ||
| 4 | Subject: [PATCH] qtbug-61521.cpp: use free instead of cfree | ||
| 5 | |||
| 6 | * as cfree man says: | ||
| 7 | This function should never be used. Use free(3) instead. | ||
| 8 | Starting with version 2.26, it has been removed from glibc. | ||
| 9 | --- | ||
| 10 | src/core/api/qtbug-61521.cpp | 2 +- | ||
| 11 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
| 12 | |||
| 13 | diff --git a/src/core/api/qtbug-61521.cpp b/src/core/api/qtbug-61521.cpp | ||
| 14 | index 86d5998e..1dcc4cfa 100644 | ||
| 15 | --- a/src/core/api/qtbug-61521.cpp | ||
| 16 | +++ b/src/core/api/qtbug-61521.cpp | ||
| 17 | @@ -100,7 +100,7 @@ SHIM_HIDDEN void* ShimCalloc(size_t n, size_t size) { | ||
| 18 | } | ||
| 19 | |||
| 20 | SHIM_HIDDEN void ShimCFree(void* ptr) { | ||
| 21 | - cfree(ptr); | ||
| 22 | + free(ptr); | ||
| 23 | } | ||
| 24 | |||
| 25 | SHIM_HIDDEN void* ShimMemalign(size_t align, size_t s) { | ||
