do not hold regex memory after config

This commit is contained in:
Sean Pringle
2014-12-31 14:18:46 +10:00
parent 89cfacfb32
commit 158600b15c
2 changed files with 12 additions and 24 deletions

View File

@@ -68,6 +68,8 @@ configure()
char tmp[1024];
const char *home = getenv("HOME");
regex_cache_init();
settings.border = BORDER;
settings.border_blur = strdup(BORDER_BLUR);
settings.border_focus = strdup(BORDER_FOCUS);
@@ -428,5 +430,7 @@ configure()
}
}
fclose(file);
regex_cache_empty();
}
}