diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/xine-engine/load_plugins.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xine-engine/load_plugins.c b/src/xine-engine/load_plugins.c index 0d84e5c28..2f07591cf 100644 --- a/src/xine-engine/load_plugins.c +++ b/src/xine-engine/load_plugins.c @@ -1086,7 +1086,7 @@ static char *catalog_filename(xine_t *this, int createdir) { const char *const xdg_cache_home = xdgCacheHome(this->basedir_handle); char *cachefile = NULL; - cachefile = xine_xmalloc( strlen(xdg_cache_home) + strlen("/"PACKAGE"/plugins.cache") ); + cachefile = xine_xmalloc( strlen(xdg_cache_home) + sizeof("/"PACKAGE"/plugins.cache") ); strcpy(cachefile, xdg_cache_home); /* If we're going to create the directory structure, we concatenate |