Browse Source

mronga: fix a memory leak

use the correct delete operator

This fixes mroonga/storage.column_generated_stored_add_column failures
in ASAN_OPTIONS="abort_on_error=1" runs
pull/895/head
Sergei Golubchik 7 years ago
parent
commit
2b4027e633
  1. 2
      storage/mroonga/ha_mroonga.cpp

2
storage/mroonga/ha_mroonga.cpp

@ -2591,7 +2591,7 @@ ha_mroonga::~ha_mroonga()
}
if (blob_buffers)
{
delete [] blob_buffers;
::delete [] blob_buffers;
}
grn_obj_unlink(ctx, &top_left_point);
grn_obj_unlink(ctx, &bottom_right_point);

Loading…
Cancel
Save