Commit 296085ff authored by Jonathan Neuschäfer's avatar Jonathan Neuschäfer Committed by Max Kellermann

output/httpd: add missing g_free in error path

parent 36aa8ce3
......@@ -103,6 +103,7 @@ httpd_output_init(G_GNUC_UNUSED const struct audio_format *audio_format,
if (encoder_plugin == NULL) {
g_set_error(error, httpd_output_quark(), 0,
"No such encoder: %s", encoder_name);
g_free(httpd);
return NULL;
}
......
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