X-Git-Url: http://www.project-moonshot.org/gitweb/?a=blobdiff_plain;f=tr%2Ftr_main.c;fp=tr%2Ftr_main.c;h=1f2e2de1db5c9ee6b95e3bc8ea1f3268f45a32ee;hb=f3ab2108e32d6b0d6d24769aaf160bed8e2e48aa;hp=1ff56dad50738060ceb11e47468280282877269d;hpb=28a83c6cb8f84b3712bfd27c8c53f29dd21acf75;p=trust_router.git diff --git a/tr/tr_main.c b/tr/tr_main.c index 1ff56da..1f2e2de 100644 --- a/tr/tr_main.c +++ b/tr/tr_main.c @@ -174,10 +174,11 @@ int main(int argc, char *argv[]) } /***** initialize the trust path query server instance *****/ - if (NULL == (tr->tids = tids_create (tr))) { + if (NULL == (tr->tids = tids_create())) { tr_crit("Error initializing Trust Path Query Server instance."); return 1; } + talloc_steal(tr, tr->tids); /***** initialize the trust router protocol server instance *****/ if (NULL == (tr->trps = trps_new(tr))) {