Incorrect use of delete[] in ptr_rep
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Zorba |
Fix Released
|
Medium
|
Paul J. Lucas |
Bug Description
test/libunit/string
==28568== Mismatched free() / delete / delete []
==28568== at 0x4C26A4B: operator delete[](void*) (vg_replace_
==28568== by 0x5EED144: zorba::
==28568== by 0x5EE8969: void test_non_
==28568== by 0x5EE8D33: void test<
==28568== by 0x5EEAA9A: zorba::
==28568== by 0x5EF5BCF: zorba::
==28568== by 0x400BAC: main (lib_unit_
==28568== Address 0xaac7d70 is 0 bytes inside a block of size 6 alloc'd
==28568== at 0x4C27CC1: operator new(unsigned long) (vg_replace_
==28568== by 0x5EE83B8: void test_non_
==28568== by 0x5EE8D33: void test<
==28568== by 0x5EEAA9A: zorba::
==28568== by 0x5EF5BCF: zorba::
==28568== by 0x400BAC: main (lib_unit_
Related branches
- Markos Zaharioudakis: Approve
- Matthias Brantner: Approve
-
Diff: 11 lines (+1/-0)1 file modifiedsrc/util/string/ptr_rep.tcc (+1/-0)
Changed in zorba: | |
milestone: | none → 2.2 |
Changed in zorba: | |
status: | New → Fix Committed |
Changed in zorba: | |
status: | Fix Committed → Fix Released |