Skip to content
Snippets Groups Projects
Commit 438bfa00 authored by Kenneth C. Arnold's avatar Kenneth C. Arnold
Browse files

Fix for case where ao_initialize is called after ao_shutdown.

git-svn-id: http://svn.xiph.org/trunk/ao@1118 0101bb08-14d6-0310-b084-bc0e0c8e3800
parent d735de4f
No related branches found
No related tags found
No related merge requests found
......@@ -161,6 +161,9 @@ void ao_shutdown(void)
/* free the standard drivers */
if (driver_head->next) free(driver_head->next);
if (driver_head->next) free(driver_head);
/* NULL out driver_head or ao_initialize won't work */
driver_head = NULL;
}
int ao_get_driver_id(const char *short_name)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment