Skip to content
Snippets Groups Projects
Commit b1775162 authored by Oliver Smith's avatar Oliver Smith
Browse files

mdns_msg.c: always call va_end

Fixes: CID#207546
Change-Id: I39829e78619a6412618e1140ff9b1185bad975bd
parent f55f6059
No related branches found
No related tags found
No related merge requests found
......@@ -213,9 +213,9 @@ struct osmo_mdns_record *osmo_mdns_record_txt_keyval_encode(void *ctx, const cha
va_start(ap, value_fmt);
value = talloc_vasprintf(ctx, value_fmt, ap);
va_end(ap);
if (!value)
return NULL;
va_end(ap);
r = _osmo_mdns_record_txt_encode(ctx, key, value);
talloc_free(value);
return r;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment