Skip to content

Commit

Permalink
issue: 426119 Fix C coverity DELETE_ARRAY issue in Context.cc
Browse files Browse the repository at this point in the history
Change-Id: I9655018d088d1f91922026e630ddad0c64ec836a
  • Loading branch information
rosenbaumalex committed Sep 22, 2014
1 parent cfe231e commit e24d039
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/c/src/Context.cc
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ Context::Context(size_t events_queue_size) : events_queue(events_queue_size)
BULLSEYE_EXCLUDE_BLOCK_START
if (ctx == NULL) {
CONTEXT_LOG_ERR("ERROR on xio_context_create()");
delete staging_scheduled_event_buffer;
delete[] staging_scheduled_event_buffer;
throw std::bad_alloc();
}
BULLSEYE_EXCLUDE_BLOCK_END
Expand Down

0 comments on commit e24d039

Please sign in to comment.