Commit b0f06e8f authored by Thomas Guillem's avatar Thomas Guillem

access: fix string leak in case of redirect

parent 898816a3
......@@ -128,6 +128,10 @@ static access_t *access_New(vlc_object_t *parent, input_thread_t *input,
msg_Err(access, "redirection loop");
goto error;
}
free(access->psz_filepath);
free(access->psz_name);
access->psz_filepath = access->psz_name = NULL;
}
msg_Err(access, "too many redirections");
......
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