Merge lp:~sergei.glushchenko/percona-server/5.5-ps-bug1314138 into lp:percona-server/5.5

Proposed by Sergei Glushchenko on 2014-06-02
Status: Merged
Approved by: Laurynas Biveinis on 2014-07-09
Approved revision: 647
Merged at revision: 675
Proposed branch: lp:~sergei.glushchenko/percona-server/5.5-ps-bug1314138
Merge into: lp:percona-server/5.5
Diff against target: 12 lines (+2/-0)
1 file modified
sql/log.cc (+2/-0)
To merge this branch: bzr merge lp:~sergei.glushchenko/percona-server/5.5-ps-bug1314138
Reviewer Review Type Date Requested Status
George Ormond Lorch III g2 2014-06-02 Approve on 2014-07-08
Review via email: mp+221705@code.launchpad.net

Description of the change

Release memory allocated with my_strdup in open()
http://jenkins.percona.com/view/PS%205.5/job/percona-server-5.5-param/1002/

To post a comment you must log in.
review: Approve (g2)

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'sql/log.cc'
2--- sql/log.cc 2014-03-18 07:42:14 +0000
3+++ sql/log.cc 2014-06-02 10:59:26 +0000
4@@ -3021,6 +3021,8 @@
5 name,
6 LOG_NORMAL, new_name, WRITE_CACHE, false);
7
8+ my_free(old_name);
9+
10 end:
11
12 if (error && close_on_error /* rotate or reopen failed */)

Subscribers

People subscribed via source and target branches