Remove prefs_free_string()

It just does a free.
Related to b580b9ef11
This commit is contained in:
Michael Vetter
2020-07-02 11:31:54 +02:00
parent 9774b0c550
commit e5ac12afa6
19 changed files with 138 additions and 145 deletions

View File

@@ -708,7 +708,7 @@ theme_hash_attrs(const char *str)
} else if (strcmp(color_pref, "blue") == 0) {
profile = COLOR_PROFILE_BLUE_BLINDNESS;
}
prefs_free_string(color_pref);
g_free(color_pref);
return COLOR_PAIR(color_pair_cache_hash_str(str, profile));
}