Skip to content

Commit 4430ee7

Browse files
committed
Add missing htmsg_destroy() call in hdhomerun_server_discover
1 parent 2b0b6a4 commit 4430ee7

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/webui/webui.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1970,6 +1970,7 @@ hdhomerun_server_discover(http_connection_t *hc, const char *remain, void *opaqu
19701970
htsmsg_add_u32(msg, "TunerCount", config.hdhomerun_server_tuner_count ?: 6);
19711971

19721972
char *json = htsmsg_json_serialize_to_str(msg, 1);
1973+
htsmsg_destroy(msg);
19731974
htsbuf_append_str(hq, json);
19741975
free(json);
19751976
http_output_content(hc, "application/json");

0 commit comments

Comments
 (0)