diff --git a/libobs/util/config-file.c b/libobs/util/config-file.c index 0966b744d..a23d8d663 100644 --- a/libobs/util/config-file.c +++ b/libobs/util/config-file.c @@ -70,6 +70,7 @@ config_t *config_create(const char *file) fclose(f); config = bzalloc(sizeof(struct config_data)); + config->file = bstrdup(file); return config; }