aboutsummarylogtreecommitdiffstats
path: root/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'main.c')
-rw-r--r--main.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/main.c b/main.c
index a7d9fdd6959d..681375d08870 100644
--- a/main.c
+++ b/main.c
@@ -17,8 +17,9 @@ int main(int argc, char* argv[]) {
strtoupper(sym);
}
- // Init portfolio path
+ // Init file paths
portfolio_file_path_init();
+ ref_cache_file_path_init();
// Init cURL
curl_global_init(CURL_GLOBAL_ALL);
@@ -105,6 +106,7 @@ int main(int argc, char* argv[]) {
}
}
free(portfolio_file_path);
+ free(ref_cache_file_path);
free(sym);
free(cmd);
curl_global_cleanup();