Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
MariaDB
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
MariaDB
Commits
fb5ee7d6
Commit
fb5ee7d6
authored
Jan 05, 2017
by
Marko Mäkelä
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Plug a memory leak in buf_dblwr_process().
parent
758af98f
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
2 deletions
+4
-2
storage/innobase/buf/buf0dblwr.cc
storage/innobase/buf/buf0dblwr.cc
+2
-1
storage/xtradb/buf/buf0dblwr.cc
storage/xtradb/buf/buf0dblwr.cc
+2
-1
No files found.
storage/innobase/buf/buf0dblwr.cc
View file @
fb5ee7d6
/*****************************************************************************
/*****************************************************************************
Copyright (c) 1995, 2014, Oracle and/or its affiliates. All Rights Reserved.
Copyright (c) 1995, 2014, Oracle and/or its affiliates. All Rights Reserved.
Copyright (c) 2013, 201
6
, MariaDB Corporation. All Rights Reserved.
Copyright (c) 2013, 201
7
, MariaDB Corporation. All Rights Reserved.
This program is free software; you can redistribute it and/or modify it under
This program is free software; you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free Software
the terms of the GNU General Public License as published by the Free Software
...
@@ -636,6 +636,7 @@ buf_dblwr_process()
...
@@ -636,6 +636,7 @@ buf_dblwr_process()
}
}
}
}
ut_free
(
unaligned_read_buf
);
fil_flush_file_spaces
(
FIL_TABLESPACE
);
fil_flush_file_spaces
(
FIL_TABLESPACE
);
{
{
...
...
storage/xtradb/buf/buf0dblwr.cc
View file @
fb5ee7d6
/*****************************************************************************
/*****************************************************************************
Copyright (c) 1995, 2014, Oracle and/or its affiliates. All Rights Reserved.
Copyright (c) 1995, 2014, Oracle and/or its affiliates. All Rights Reserved.
Copyright (c) 2013, 201
6
, MariaDB Corporation. All Rights Reserved.
Copyright (c) 2013, 201
7
, MariaDB Corporation. All Rights Reserved.
This program is free software; you can redistribute it and/or modify it under
This program is free software; you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free Software
the terms of the GNU General Public License as published by the Free Software
...
@@ -635,6 +635,7 @@ buf_dblwr_process()
...
@@ -635,6 +635,7 @@ buf_dblwr_process()
}
}
}
}
ut_free
(
unaligned_read_buf
);
fil_flush_file_spaces
(
FIL_TABLESPACE
);
fil_flush_file_spaces
(
FIL_TABLESPACE
);
{
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment