Merge branch 'master' into next

This commit is contained in:
Michael Stapelberg
2014-07-02 19:06:01 +02:00

View File

@ -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);