bug in SDL_mixer 1.2.8, function _EFF _PositionDeinit(effect_position.c)

_EFF_PositionDeinit doesn’t reset the position_channels counter and should look
like this:

void _Eff_PositionDeinit(void)
{
int i;

 if (pos_args_array) {
	for (i = 0; i < position_channels; i++)
		  free(pos_args_array[i]);
    free(pos_args_array);
	 pos_args_array = NULL;
	}
 position_channels = 0;
 if (pos_args_global) {
	free(pos_args_global);
	pos_args_global = NULL;
	}

}

_EFF_PositionDeinit doesn’t reset the position_channels counter and should look
like this:

Whoops!

Fixed in svn revision #3524, thanks!

–ryan.

_EFF_PositionDeinit doesn’t reset the position_channels counter and should look
like this:

Fixed in svn revision #3524, thanks!

That should read “3534”, not “3524”.

–ryan.