Browse Source

Fix exception handling in JackShmMem::operator new.

git-svn-id: http://subversion.jackaudio.org/jack/jack2/trunk/jackmp@2256 0c269be4-1314-0410-8aa9-9f06e86f4224
tags/1.90
sletz 17 years ago
parent
commit
409c6c3abe
2 changed files with 5 additions and 1 deletions
  1. +4
    -0
      ChangeLog
  2. +1
    -1
      common/JackShmMem.cpp

+ 4
- 0
ChangeLog View File

@@ -20,6 +20,10 @@ Fernando Lopez-Lezcano
Jackdmp changes log
---------------------------

2008-05-13 Stephane Letz <letz@grame.fr>

* Fix exception handling in JackShmMem::operator new.

2008-05-12 Stephane Letz <letz@grame.fr>

* Allows wrapper library to log in a file (using JACK_WRAPPER_DEBUG=file).


+ 1
- 1
common/JackShmMem.cpp View File

@@ -60,7 +60,7 @@ void* JackShmMem::operator new(size_t size)

error:
jack_error("JackShmMem::new bad alloc", size);
throw new std::bad_alloc;
throw std::bad_alloc();
}

void JackShmMem::operator delete(void* p, size_t size)


Loading…
Cancel
Save