diff options
Diffstat (limited to '')
-rw-r--r-- | src/input/mms_input_plugin.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/input/mms_input_plugin.c b/src/input/mms_input_plugin.c index 2fe9b6bb2..834d111b8 100644 --- a/src/input/mms_input_plugin.c +++ b/src/input/mms_input_plugin.c @@ -60,10 +60,13 @@ input_mms_open(const char *url, GError **error_r) m->mms = mmsx_connect(NULL, NULL, url, 128 * 1024); if (m->mms == NULL) { + g_free(m); g_set_error(error_r, mms_quark(), 0, "mmsx_connect() failed"); return NULL; } + m->eof = false; + /* XX is this correct? at least this selects the ffmpeg decoder, which seems to work fine*/ m->base.mime = g_strdup("audio/x-ms-wma"); |