From 3cef9048436257e6deb6d5e55679913fa947f08a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Florian=20M=C3=A4rkl?= Date: Mon, 20 May 2019 20:35:56 +0200 Subject: [PATCH] Update r2 and fix r_free (#1564) * Update radare2 to 3.5.1 * Use r_mem_free() instead of r_free() --- radare2 | 2 +- src/core/Cutter.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/radare2 b/radare2 index bf81826e..4ec482ba 160000 --- a/radare2 +++ b/radare2 @@ -1 +1 @@ -Subproject commit bf81826eff120e690a841f678544228b1cd0cfa1 +Subproject commit 4ec482ba2d4f554beeafb3aa47758e970bcab937 diff --git a/src/core/Cutter.cpp b/src/core/Cutter.cpp index fc6b7d1e..d2596bb8 100644 --- a/src/core/Cutter.cpp +++ b/src/core/Cutter.cpp @@ -2720,7 +2720,7 @@ QString CutterCore::ansiEscapeToHtml(const QString &text) return QString(); } QString r = QString::fromUtf8(html, len); - r_free(html); + r_mem_free(html); return r; }