Commit adf1342c authored by Pekka Pessi's avatar Pekka Pessi

Not using su_home_deinit().

darcs-hash:20050908155658-65a35-9db3f8e11f5445cde541be20b5c982acfef21e10.gz
parent fc3d286f
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment