pulse: make sure legacy_dir is not static
authorJan Kratochvil <jan.kratochvil@redhat.com>
Thu, 25 Nov 2010 02:49:27 +0000 (03:49 +0100)
committerColin Guthrie <cguthrie@mandriva.org>
Thu, 25 Nov 2010 16:36:18 +0000 (16:36 +0000)
src/pulse/context.c

index 8875bfd..7a539b4 100644 (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())) {