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
external
sofia-sip
Commits
adf1342c
Commit
adf1342c
authored
Sep 08, 2005
by
Pekka Pessi
Browse files
Not using su_home_deinit().
darcs-hash:20050908155658-65a35-9db3f8e11f5445cde541be20b5c982acfef21e10.gz
parent
fc3d286f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
+2
-3
libsofia-sip-ua/nua/nua.c
libsofia-sip-ua/nua/nua.c
+2
-3
No files found.
libsofia-sip-ua/nua/nua.c
View file @
adf1342c
...
...
@@ -197,7 +197,7 @@ nua_t *nua_create(su_root_t *root,
assert
(
callback
);
if
((
nua
=
su_home_
clone
(
NULL
,
sizeof
(
*
nua
))))
{
if
((
nua
=
su_home_
new
(
sizeof
(
*
nua
))))
{
ta_list
ta
;
assert
(
root
);
/* for now, later we can create an own root for API */
...
...
@@ -227,8 +227,7 @@ nua_t *nua_create(su_root_t *root,
nua
->
nua_magic
=
magic
;
}
else
{
su_home_deinit
(
nua
->
nua_home
);
su_free
(
NULL
,
nua
);
su_home_unref
(
nua
->
nua_home
);
nua
=
NULL
;
}
#endif
...
...
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