mirror of
https://github.com/rizinorg/cutter.git
synced 2025-02-20 13:46:06 +00:00
Fix crash because of mixing debug and release CRT. (#1361)
Memory allocated in r2-side has to be released with `r_free`
This commit is contained in:
parent
c84546e828
commit
1422013d99
@ -2649,7 +2649,7 @@ QString CutterCore::ansiEscapeToHtml(const QString &text)
|
||||
return QString();
|
||||
}
|
||||
QString r = QString::fromUtf8(html, len);
|
||||
free(html);
|
||||
r_free(html);
|
||||
return r;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user