X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=libs%2Fardour%2Fsession_events.cc;h=9d11cb0b9194859c9bebbb3fffc954f120339cb6;hb=6e94b1fb9f79c5bfcf22cd5b88619afa9bedb1b2;hp=f37578114332c0865c7ae8e84e677e884b1d3b13;hpb=ef59fbffa17c6ed08e22d17daaea0d6fa4c4ce18;p=ardour.git diff --git a/libs/ardour/session_events.cc b/libs/ardour/session_events.cc index f375781143..9d11cb0b91 100644 --- a/libs/ardour/session_events.cc +++ b/libs/ardour/session_events.cc @@ -45,7 +45,7 @@ SessionEvent::init_event_pool () bool SessionEvent::has_per_thread_pool () { - return pool->has_per_thread_pool (); + return pool->has_per_thread_pool (); } void @@ -79,7 +79,7 @@ SessionEvent::operator new (size_t) SessionEvent* ev = static_cast (p->alloc ()); DEBUG_TRACE (DEBUG::SessionEvents, string_compose ("%1 Allocating SessionEvent from %2 ev @ %3 pool size %4 free %5 used %6\n", pthread_name(), p->name(), ev, p->total(), p->available(), p->used())); - + ev->own_pool = p; return ev; }