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