From abbee959bf5c87a8b2ad0b2d55d9ddb955147892 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Yaroslav=20de=20la=20Pe=C3=B1a=20Smirnov?= Date: Mon, 8 Nov 2021 23:29:08 +0300 Subject: Minor fixes here and there * Added year variable to album template * Fixed a minor leak and dangling pointer * Other small improvements --- include/components.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include') diff --git a/include/components.h b/include/components.h index ba5c866..c56de77 100644 --- a/include/components.h +++ b/include/components.h @@ -77,6 +77,8 @@ int album_cmp(const void *a, const void *b); void album_add_image(struct album *, struct image *); +void album_set_year(struct album *); + void album_destroy(void *data); #endif -- cgit v1.2.3