Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
BC
public
belle-sip
Commits
5d9334cf
Commit
5d9334cf
authored
Oct 21, 2016
by
Simon Morlat
Browse files
fix bad unrefs
parent
13ffea1a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
src/transaction.c
src/transaction.c
+2
-2
No files found.
src/transaction.c
View file @
5d9334cf
...
...
@@ -90,7 +90,6 @@ static int server_transaction_on_call_repair_timer(belle_sip_transaction_t *t) {
static
int
client_transaction_on_call_repair_timer
(
belle_sip_transaction_t
*
t
)
{
belle_sip_transaction_terminate
(
t
);
belle_sip_object_unref
(
t
);
return
BELLE_SIP_STOP
;
}
...
...
@@ -144,9 +143,10 @@ static void on_channel_state_changed(belle_sip_channel_listener_t *l, belle_sip_
}
else
{
belle_sip_transaction_terminate
(
t
);
}
belle_sip_object_unref
(
t
);
belle_sip_object_unref
(((
belle_sip_transaction_t
*
)
t
)
->
channel
);
((
belle_sip_transaction_t
*
)
t
)
->
channel
=
NULL
;
belle_sip_object_unref
(
t
);
break
;
default:
/*ignored*/
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment