Commit e98bd55c authored by Max Kellermann's avatar Max Kellermann

input/mms: fix memory leak in error handler

parent a1a03dee
ver 0.15.10 (2010/??/??)
* input:
- mms: fix memory leak in error handler
* decoders:
- mad: properly calculate ID3 size without libid3tag
......
......@@ -49,6 +49,7 @@ input_mms_open(struct input_stream *is, const char *url)
m = g_new(struct input_mms, 1);
m->mms = mmsx_connect(NULL, NULL, url, 128 * 1024);
if (m->mms == NULL) {
g_free(m);
g_warning("mmsx_connect() failed");
return false;
}
......
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