ao_wasapi: Fix double free on uninit

Caused by incorrect conversion to the m_option API: since we don't allocate
the state ourselves, we also don't free it ourselves.
This commit is contained in:
Diogo Franco (Kovensky) 2013-07-21 16:53:20 -03:00 committed by wm4
parent c62395dc09
commit 58e3d3f207
1 changed files with 0 additions and 2 deletions

View File

@ -1171,8 +1171,6 @@ static void uninit(struct ao *ao, bool immed)
FreeLibrary(state->VistaBlob.hAvrt);
closehandles(ao);
DeleteCriticalSection(&state->print_lock);
talloc_free(state);
ao->priv = NULL;
mp_msg(MSGT_AO, MSGL_V, "ao-wasapi: uninit END!\n");
}