diff --git a/src/timidity/instrum_dls.cpp b/src/timidity/instrum_dls.cpp index 0243461e6..fe5e4fdcd 100644 --- a/src/timidity/instrum_dls.cpp +++ b/src/timidity/instrum_dls.cpp @@ -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 ) {