diff options
-rw-r--r-- | apps/tagcache.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/apps/tagcache.c b/apps/tagcache.c index 0f78639b4a..52e059a04a 100644 --- a/apps/tagcache.c +++ b/apps/tagcache.c | |||
@@ -3532,7 +3532,10 @@ bool tagcache_create_changelog(struct tagcache_search *tcs) | |||
3532 | if (tcs->masterfd < 0) | 3532 | if (tcs->masterfd < 0) |
3533 | { | 3533 | { |
3534 | if ( (tcs->masterfd = open_master_fd(&myhdr, false)) < 0) | 3534 | if ( (tcs->masterfd = open_master_fd(&myhdr, false)) < 0) |
3535 | { | ||
3536 | close(clfd); | ||
3535 | return false; | 3537 | return false; |
3538 | } | ||
3536 | } | 3539 | } |
3537 | else | 3540 | else |
3538 | { | 3541 | { |