Skip to content

Commit

Permalink
doveadm log find: Fix memory leak
Browse files Browse the repository at this point in the history
  • Loading branch information
sirainen committed Aug 22, 2018
1 parent d8bf634 commit 818791b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/doveadm/doveadm-log.c
Expand Up @@ -279,6 +279,8 @@ static void cmd_log_find(int argc, char *argv[])
if (!found)
printf("%sNot found\n", failure_log_type_prefixes[i]);
}
hash_table_destroy(&ctx.files);
pool_unref(&ctx.pool);
}

static const char *t_cmd_log_error_trim(const char *orig)
Expand Down

0 comments on commit 818791b

Please sign in to comment.