mirror of
https://github.com/profanity-im/profanity.git
synced 2024-12-04 14:46:46 -05:00
Free pgpdir
This commit is contained in:
parent
1437c360b5
commit
33172cb917
@ -159,6 +159,7 @@ p_gpg_on_connect(const char *const barejid)
|
|||||||
{
|
{
|
||||||
char *pgpdir = files_get_data_path(DIR_PGP);
|
char *pgpdir = files_get_data_path(DIR_PGP);
|
||||||
GString *pubsfile = g_string_new(pgpdir);
|
GString *pubsfile = g_string_new(pgpdir);
|
||||||
|
free(pgpdir);
|
||||||
gchar *account_dir = str_replace(barejid, "@", "_at_");
|
gchar *account_dir = str_replace(barejid, "@", "_at_");
|
||||||
g_string_append(pubsfile, "/");
|
g_string_append(pubsfile, "/");
|
||||||
g_string_append(pubsfile, account_dir);
|
g_string_append(pubsfile, account_dir);
|
||||||
|
Loading…
Reference in New Issue
Block a user