- Fixed possible NULL pointer deref in PrintDLS().

SVN r4256 (trunk)
This commit is contained in:
Randy Heit 2013-05-12 18:34:01 +00:00
parent c63273348a
commit e935cf9e62

View file

@ -992,7 +992,7 @@ void PrintDLS(DLS_Data *data)
}
printf("\n");
}
if ( data->waveList ) {
if ( data->waveList && data->ptbl ) {
DWORD i;
printf("Waves:\n");
for ( i = 0; i < data->ptbl->cCues; ++i ) {