Replace R_FREE() with r_mem_free()

This commit is contained in:
Paul I 2019-01-13 20:52:38 +03:00 committed by xarkes
parent fdf619a762
commit 00c0994fb5

View File

@ -30,7 +30,7 @@ ColorSchemeFileSaver::ColorSchemeFileSaver(QObject *parent) : QObject (parent)
{
char* szThemes = r_str_home(R2_HOME_THEMES);
customR2ThemesLocationPath = szThemes;
R_FREE(szThemes);
r_mem_free(szThemes);
if (!QDir(customR2ThemesLocationPath).exists()) {
QDir().mkpath(customR2ThemesLocationPath);
}