mslookup_client_mdns.c: fix dereferencing null
Fixes: CID#207545 Change-Id: I0f7fbbdb663304bd5214cba4a6e4abe1dd165cfa
This commit is contained in:
parent
b1775162ea
commit
89afb7f78b
|
@ -114,6 +114,7 @@ static void mdns_method_request(struct osmo_mslookup_client_method *method, cons
|
||||||
if (!msg) {
|
if (!msg) {
|
||||||
LOGP(DMSLOOKUP, LOGL_ERROR, "Cannot encode request: %s\n",
|
LOGP(DMSLOOKUP, LOGL_ERROR, "Cannot encode request: %s\n",
|
||||||
osmo_mslookup_result_name_b(buf, sizeof(buf), query, NULL));
|
osmo_mslookup_result_name_b(buf, sizeof(buf), query, NULL));
|
||||||
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Send over the wire */
|
/* Send over the wire */
|
||||||
|
|
Loading…
Reference in New Issue