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
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
mariadb
Commits
402df62b
Commit
402df62b
authored
Jul 01, 2005
by
konstantin@mysql.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix a valgrind warning.
parent
d8fef651
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
1 deletion
+1
-1
sql/sql_prepare.cc
sql/sql_prepare.cc
+1
-0
sql/sql_select.cc
sql/sql_select.cc
+0
-1
No files found.
sql/sql_prepare.cc
View file @
402df62b
...
@@ -2447,6 +2447,7 @@ Prepared_statement::~Prepared_statement()
...
@@ -2447,6 +2447,7 @@ Prepared_statement::~Prepared_statement()
if
(
cursor
)
if
(
cursor
)
cursor
->
Cursor
::~
Cursor
();
cursor
->
Cursor
::~
Cursor
();
free_items
();
free_items
();
free_root
(
cursor
->
mem_root
,
MYF
(
0
));
delete
lex
->
result
;
delete
lex
->
result
;
}
}
...
...
sql/sql_select.cc
View file @
402df62b
...
@@ -1920,7 +1920,6 @@ Cursor::~Cursor()
...
@@ -1920,7 +1920,6 @@ Cursor::~Cursor()
{
{
if
(
is_open
())
if
(
is_open
())
close
(
FALSE
);
close
(
FALSE
);
free_root
(
mem_root
,
MYF
(
0
));
}
}
/*********************************************************************/
/*********************************************************************/
...
...
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