mirror of
https://git.jabber.space/devs/cproof.git
synced 2026-07-28 12:56:21 +00:00
12
src/main.c
12
src/main.c
@@ -178,14 +178,10 @@ main(int argc, char **argv)
|
|||||||
prof_run(log ? log : "INFO", account_name, config_file, log_file);
|
prof_run(log ? log : "INFO", account_name, config_file, log_file);
|
||||||
|
|
||||||
/* Free resources allocated by GOptionContext */
|
/* Free resources allocated by GOptionContext */
|
||||||
if (log)
|
g_free(log);
|
||||||
g_free(log);
|
g_free(account_name);
|
||||||
if (account_name)
|
g_free(config_file);
|
||||||
g_free(account_name);
|
g_free(log_file);
|
||||||
if (config_file)
|
|
||||||
g_free(config_file);
|
|
||||||
if (log_file)
|
|
||||||
g_free(log_file);
|
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user