[vlc-commits] plugin cache: do not re-write the cache file unless explicitly requested by the user ( closes #14519)

Felix Paul Kühne git at videolan.org
Sat Jul 25 16:04:56 CEST 2015


vlc | branch: master | Felix Paul Kühne <fkuehne at videolan.org> | Sat Jul 25 15:36:20 2015 +0200| [0c4006882d9c33f8ac9beb1e0e6cabb862267e8d] | committer: Felix Paul Kühne

plugin cache: do not re-write the cache file unless explicitly requested by the user (closes #14519)

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=0c4006882d9c33f8ac9beb1e0e6cabb862267e8d
---

 src/modules/bank.c |    1 +
 1 file changed, 1 insertion(+)

diff --git a/src/modules/bank.c b/src/modules/bank.c
index f4fba50..e64ce41 100644
--- a/src/modules/bank.c
+++ b/src/modules/bank.c
@@ -411,6 +411,7 @@ static void AllocatePluginPath (vlc_object_t *p_this, const char *path,
                 free (cache[i].path);
             }
             free( cache );
+            break;
         case CACHE_RESET:
             CacheSave (p_this, path, bank.cache, bank.i_cache);
         case CACHE_IGNORE:



More information about the vlc-commits mailing list