Commit a675603f authored by Pekka Pessi's avatar Pekka Pessi

nta.c: fix malloc check

MeeGo coverity issue CID #12371
parent ac3b79e0
......@@ -11345,6 +11345,8 @@ nta_outgoing_t *nta_outgoing_tagged(nta_outgoing_t *orq,
agent = orq->orq_agent;
tagged = su_zalloc(agent->sa_home, sizeof(*tagged));
if (!tagged)
return NULL;
home = msg_home((msg_t *)orq->orq_request);
......
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