A few small memory leak fixes from MK
[rtaudio.git] / tests / playraw.cpp
index f57c0b0e31023995dc491688698faa88a57ac6f5..7e7256ba0110e7477e87bdb986bd4f38b9100cf3 100644 (file)
@@ -130,7 +130,7 @@ int main( int argc, char *argv[] )
     dac.openStream( &oParams, NULL, FORMAT, fs, &bufferFrames, &output, (void *)&data );
     dac.startStream();
   }
-  catch ( RtError& e ) {
+  catch ( RtAudioError& e ) {
     std::cout << '\n' << e.getMessage() << '\n' << std::endl;
     goto cleanup;
   }