diff options
author | Wilmer van der Gaast <wilmer@gaast.net> | 2006-06-21 19:14:49 +0200 |
---|---|---|
committer | Wilmer van der Gaast <wilmer@gaast.net> | 2006-06-21 19:14:49 +0200 |
commit | 00ab35016e3646aa936ae0c3d7a8531ec68d6f24 (patch) | |
tree | bcf19052c57f170e36bf8e9cce3275f4f117307b /conf.c | |
parent | 2b14eef99faf7e113cc6c17d68bf6402f87ddd66 (diff) |
Fixed GError memory leak, correctly setting the migrate_storage default.
Diffstat (limited to 'conf.c')
-rw-r--r-- | conf.c | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -41,7 +41,6 @@ static int conf_loadini( conf_t *conf, char *file ); conf_t *conf_load( int argc, char *argv[] ) { - char *mig_list[2] = { "text", NULL }; conf_t *conf; int opt, i; @@ -56,7 +55,7 @@ conf_t *conf_load( int argc, char *argv[] ) conf->nofork = 0; conf->verbose = 0; conf->primary_storage = "xml"; - conf->migrate_storage = mig_list; + conf->migrate_storage = g_strsplit( "text", ",", -1 ); conf->runmode = RUNMODE_INETD; conf->authmode = AUTHMODE_OPEN; conf->auth_pass = NULL; |