From 9af325a541ecbf430624ed3bdee95fa88a55078e Mon Sep 17 00:00:00 2001 From: William Wilgus Date: Wed, 25 Sep 2024 01:33:47 -0400 Subject: [BugFix] tagcache_search() must be closed with tagcache_search_finish() fix a couple of places where this could be left open Change-Id: I43ac7d6b26d728c11f96e5415710341d60f07ab8 --- apps/plugins/pictureflow/pictureflow.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'apps/plugins') diff --git a/apps/plugins/pictureflow/pictureflow.c b/apps/plugins/pictureflow/pictureflow.c index e5492cf01c..b68e879fc4 100644 --- a/apps/plugins/pictureflow/pictureflow.c +++ b/apps/plugins/pictureflow/pictureflow.c @@ -1218,7 +1218,10 @@ static int create_album_untagged(struct tagcache_search *tcs, { if (rb->button_get(false) > BUTTON_NONE) { if (confirm_quit()) + { + rb->tagcache_search_finish(tcs); return ERROR_USER_ABORT; + } else { rb->lcd_clear_display(); -- cgit v1.2.3