[PATCH v3 7/9] dsound: Avoid using pointer value after free.