GitLab repository storage has been migrated to hashed layout. Please contact Infrastructure team if you notice any issues with repositories or hooks.

Commit a21a188c authored by Milan Crha's avatar Milan Crha

I#2 - Memory leak in create_folder_feeds

Closes #2
parent 680fa659
......@@ -2760,13 +2760,12 @@ create_folder_feeds(gchar *folder)
gchar *tf;
GList *names;
gchar *mf = get_main_folder();
GHashTable *nhash = g_hash_table_new(
strbuf = NULL;
if (folder && strcmp(folder, mf))
tf = extract_main_folder(folder);
else {
GHashTable *nhash = g_hash_table_new(g_str_hash, g_str_equal);
tf = g_strdup(".");
//get list of "unfoldered" feeds - silly approach
names = g_hash_table_get_keys(rf->hrname);
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment