[MDEV-358] safemalloc memory leak warnings for rpl.rpl_auto_increment Created: 2012-06-20 Updated: 2012-06-20 Resolved: 2012-06-20 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | None |
| Affects Version/s: | 5.5.24 |
| Fix Version/s: | 5.5.25 |
| Type: | Bug | Priority: | Major |
| Reporter: | Kristian Nielsen | Assignee: | Kristian Nielsen |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Description |
|
This bug was introduced with merge from MySQL 5.5: rpl.rpl_auto_increment 'mix,xtradb' w1 [ pass ] 1972 Warning: 114 bytes lost, allocated at sql/log_event.cc:3223, sql/log_event.cc:1527, sql/log_event.cc:1379, sql/slave.cc:5017, sql/slave.cc:2711, sql/slave.cc:3622, perfschema/pfs.cc:1015, ??:0 The problem is the newly introduced class in MySQL 5.5, class bool is_last(Log_event *ev) { return ev == last_added; }; But when the memory pointed to by last_added is freed, the last_added pointer |
| Comments |
| Comment by Kristian Nielsen [ 2012-06-20 ] |
|
Fix pushed to lp:maria/5.5 |