Fixed too early image template free
This commit is contained in:
parent
0be879c3cb
commit
615ae35a0e
@ -218,12 +218,12 @@ char *gen_gallery_html()
|
||||
|
||||
free(album_content);
|
||||
free(album_html);
|
||||
free(image_template);
|
||||
|
||||
albums_list_item = albums_list_item->next;
|
||||
}
|
||||
|
||||
free(album_template);
|
||||
free(image_template);
|
||||
free_albums_list(albums_list);
|
||||
|
||||
return gallery_content;
|
||||
|
Loading…
x
Reference in New Issue
Block a user