Use default vfs.

This commit is contained in:
Sandrine Avakian 2016-05-23 11:53:18 +02:00
parent 2575d9736e
commit 52b51b1ba7

View file

@ -402,7 +402,8 @@ LpConfig *lp_config_new_with_factory(const char *config_filename, const char *fa
bctbx_vfs_file_t* pFile = NULL;
LpConfig *lpconfig=lp_new0(LpConfig,1);
bctbx_vfs_register(bc_create_vfs(),&lpconfig->g_bctbx_vfs);
bctbx_vfs_set_default(NULL);
lpconfig->g_bctbx_vfs = bctbx_vfs_get_default();
lpconfig->refcnt=1;
if (config_filename!=NULL){