Skip to content

Commit

Permalink
lib-master: Fixed memory leak when IPC server is handling commands.
Browse files Browse the repository at this point in the history
This mainly meant that when login processes responded to doveadm proxy
list/kick commands memory was leaked.
  • Loading branch information
sirainen committed Sep 15, 2016
1 parent b49ca32 commit 41d9145
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/lib-master/ipc-server.c
Expand Up @@ -175,6 +175,7 @@ static void ipc_cmd_finish(struct ipc_cmd *cmd, const char *line)

i_assert(cmd->server->ipc_cmd_refcount > 0);
cmd->server->ipc_cmd_refcount--;
i_free(cmd);
}

void ipc_cmd_success(struct ipc_cmd **_cmd)
Expand Down

0 comments on commit 41d9145

Please sign in to comment.