-rw-r--r-- | core/applets/vmemo/vmemo.cpp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/core/applets/vmemo/vmemo.cpp b/core/applets/vmemo/vmemo.cpp index 4c07b3a..226f058 100644 --- a/core/applets/vmemo/vmemo.cpp +++ b/core/applets/vmemo/vmemo.cpp @@ -311,5 +311,2 @@ bool VMemo::startRecording() { recording = FALSE; - msgLabel=0; - delete msgLabel; - return FALSE; @@ -429,2 +426,6 @@ int VMemo::openDSP() { if(dsp == -1) { + msgLabel->close(); + msgLabel=0; + delete msgLabel; + perror("open(\"/dev/dsp\")"); |