[SERVER-2503] mismatched new[] and delete (non array version) in repl_block.cpp Created: 09/Feb/11 Updated: 12/Jul/16 Resolved: 09/Feb/11 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 1.7.6 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Aaron Staple | Assignee: | Eliot Horowitz (Inactive) |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Operating System: | ALL |
| Participants: |
| Description |
|
In repl_block.cpp an Info's loc is allocated using new [] but deallocated using the non array version of delete. Reported while running the repl set tests under valgrind. |
| Comments |
| Comment by auto [ 09/Feb/11 ] |
|
Author: {u'login': u'dwight', u'name': u'dwight', u'email': u'dwight@10gen.com'}Message: Revert "attempt to fix This reverts commit 2b1c61b92ab2e9b7d4da1c1c9f2e1e23ab8034a1. |