From 18a21048dde2393a89dfdee409fa5cb7d75f763a Mon Sep 17 00:00:00 2001 From: Itay Cohen Date: Mon, 11 May 2020 19:55:38 +0300 Subject: [PATCH] Update radare2 submodule (#2189) * Update radare2 submodule * Use the new API, r_meta_get_string doesn't return owned pointer anymore. --- radare2 | 2 +- src/core/Cutter.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/radare2 b/radare2 index 9ea0b7ce..0b231619 160000 --- a/radare2 +++ b/radare2 @@ -1 +1 @@ -Subproject commit 9ea0b7ce566cfdcfb3513f407c4056915204294a +Subproject commit 0b231619abedfec08f3bfb86fea259536877ab9a diff --git a/src/core/Cutter.cpp b/src/core/Cutter.cpp index 90648694..81432c78 100644 --- a/src/core/Cutter.cpp +++ b/src/core/Cutter.cpp @@ -793,7 +793,7 @@ void CutterCore::delComment(RVA addr) QString CutterCore::getCommentAt(RVA addr) { CORE_LOCK(); - return fromOwnedCharPtr(r_meta_get_string(core->anal, R_META_TYPE_COMMENT, addr)); + return r_meta_get_string(core->anal, R_META_TYPE_COMMENT, addr); } void CutterCore::setImmediateBase(const QString &r2BaseName, RVA offset)