diff options
author | William Wilgus <wilgus.william@gmail.com> | 2024-09-25 01:33:47 -0400 |
---|---|---|
committer | William Wilgus <wilgus.william@gmail.com> | 2024-09-25 01:33:47 -0400 |
commit | 9af325a541ecbf430624ed3bdee95fa88a55078e (patch) | |
tree | 34503c44c45932ae9fd0b3058b0e8f04c3cfd89d /apps/plugins | |
parent | a0e95c888d84bf20c73e7b1e8a274749b1bcdc94 (diff) | |
download | rockbox-9af325a541ecbf430624ed3bdee95fa88a55078e.tar.gz rockbox-9af325a541ecbf430624ed3bdee95fa88a55078e.zip |
[BugFix] tagcache_search() must be closed with tagcache_search_finish()
fix a couple of places where this could be left open
Change-Id: I43ac7d6b26d728c11f96e5415710341d60f07ab8
Diffstat (limited to 'apps/plugins')
-rw-r--r-- | apps/plugins/pictureflow/pictureflow.c | 3 |
1 files changed, 3 insertions, 0 deletions
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, | |||
1218 | { | 1218 | { |
1219 | if (rb->button_get(false) > BUTTON_NONE) { | 1219 | if (rb->button_get(false) > BUTTON_NONE) { |
1220 | if (confirm_quit()) | 1220 | if (confirm_quit()) |
1221 | { | ||
1222 | rb->tagcache_search_finish(tcs); | ||
1221 | return ERROR_USER_ABORT; | 1223 | return ERROR_USER_ABORT; |
1224 | } | ||
1222 | else | 1225 | else |
1223 | { | 1226 | { |
1224 | rb->lcd_clear_display(); | 1227 | rb->lcd_clear_display(); |