mirror of
https://github.com/profanity-im/profanity.git
synced 2024-11-03 19:37:16 -05:00
parent
ca14f3a1a2
commit
c9fcd01865
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;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user