Merge branch 'master' into next
This commit is contained in:
commit
5cbe2d63c0
|
@ -246,10 +246,9 @@ void parse_config_json(char *json) {
|
|||
*
|
||||
*/
|
||||
void free_colors(struct xcb_color_strings_t *colors) {
|
||||
#define FREE_COLOR(x) \
|
||||
do { \
|
||||
if (colors->x) \
|
||||
free(colors->x); \
|
||||
#define FREE_COLOR(x) \
|
||||
do { \
|
||||
FREE(colors->x); \
|
||||
} while (0)
|
||||
FREE_COLOR(bar_fg);
|
||||
FREE_COLOR(bar_bg);
|
||||
|
|
Loading…
Reference in New Issue