Skip to content

Commit

Permalink
deref reply before session
Browse files Browse the repository at this point in the history
  • Loading branch information
sreimers committed Aug 18, 2024
1 parent 06f5129 commit 6184bbe
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/sipsess/reply.c
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,8 @@ static void tmr_handler(void *arg)
}
}
else {
mem_deref(sess); /* list_flush derefs reply */
mem_deref(reply);
mem_deref(sess);
return;
}

Expand Down

0 comments on commit 6184bbe

Please sign in to comment.