pulse: make sure legacy_dir is not static

This commit is contained in:
Jan Kratochvil 2010-11-25 03:49:27 +01:00 committed by Lennart Poettering
parent b173f9c184
commit 745f59acff

View file

@ -624,7 +624,7 @@ static pa_strlist *prepend_per_user(pa_strlist *l) {
char *ufn;
#ifdef ENABLE_LEGACY_RUNTIME_DIR
static char *legacy_dir;
char *legacy_dir;
/* The very old per-user instance path (< 0.9.11). This is supported only to ease upgrades */
if ((legacy_dir = get_very_old_legacy_runtime_dir())) {