Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions client/display.c
Original file line number Diff line number Diff line change
Expand Up @@ -860,6 +860,7 @@ void display_agent_prompt_release(const char *label)
if (!command_is_interactive_mode()) {
rl_callback_handler_remove();
l_io_destroy(io);
io = NULL;

return;
}
Expand Down Expand Up @@ -975,6 +976,7 @@ void display_exit(void)
rl_callback_handler_remove();

l_io_destroy(io);
io = NULL;

l_signal_remove(window_change_signal);

Expand Down
3 changes: 3 additions & 0 deletions src/agent.c
Original file line number Diff line number Diff line change
Expand Up @@ -183,6 +183,8 @@ static void agent_finalize_pending(struct agent *agent,
}

pending = l_queue_pop_head(agent->requests);
if (!pending)
return;

switch (pending->type) {
case AGENT_REQUEST_TYPE_PASSPHRASE:
Expand Down Expand Up @@ -230,6 +232,7 @@ static void request_timeout(struct l_timeout *timeout, void *user_data)
struct agent *agent = user_data;

l_dbus_cancel(dbus_get_bus(), agent->pending_id);
agent->pending_id = 0;

send_cancel_request(agent, -ETIMEDOUT);

Expand Down
Loading