From a6409f21447e4da82e676c21976f8f4020f4056f Mon Sep 17 00:00:00 2001 From: pancake Date: Mon, 25 Apr 2016 09:40:04 +0200 Subject: [PATCH] strdup reg profile for xtensa --- libr/anal/p/anal_xtensa.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libr/anal/p/anal_xtensa.c b/libr/anal/p/anal_xtensa.c index f6ab4fdccb..8d1754369a 100644 --- a/libr/anal/p/anal_xtensa.c +++ b/libr/anal/p/anal_xtensa.c @@ -628,7 +628,8 @@ static int xtensa_op (RAnal *anal, RAnalOp *op, ut64 addr, const ut8 *buf, int l } static char *get_reg_profile(RAnal *anal) { - return ("=PC a15\n" + return strdup ( + "=PC a15\n" "=BP a14\n" "=SP a13\n" // XXX "=A0 a0\n"