doh,
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14153 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
d7a1127a00
commit
cf22bd9768
|
@ -85,8 +85,7 @@ SWITCH_DECLARE(Event *) EventConsumer::pop(int block)
|
|||
}
|
||||
|
||||
if ((event = (switch_event_t *) pop)) {
|
||||
ret = new Event(event);
|
||||
switch_event_destroy(&event);
|
||||
ret = new Event(event, 1);
|
||||
}
|
||||
|
||||
return ret;
|
||||
|
|
Loading…
Reference in New Issue