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
d307fbbf
Commit
d307fbbf
authored
Aug 27, 2009
by
Bjorn Munch
Browse files
Options
Browse Files
Download
Plain Diff
Bug #46164 memory leak in mysqltest after parse error with --debug
Moved some dynstr_free() further up
parents
4994e667
0211f76d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
client/mysqltest.cc
client/mysqltest.cc
+4
-3
No files found.
client/mysqltest.cc
View file @
d307fbbf
...
@@ -7161,6 +7161,10 @@ void run_query(struct st_connection *cn, struct st_command *command, int flags)
...
@@ -7161,6 +7161,10 @@ void run_query(struct st_connection *cn, struct st_command *command, int flags)
run_query_normal
(
cn
,
command
,
flags
,
query
,
query_len
,
run_query_normal
(
cn
,
command
,
flags
,
query
,
query_len
,
ds
,
&
ds_warnings
);
ds
,
&
ds_warnings
);
dynstr_free
(
&
ds_warnings
);
if
(
command
->
type
==
Q_EVAL
)
dynstr_free
(
&
eval_query
);
if
(
display_result_sorted
)
if
(
display_result_sorted
)
{
{
/* Sort the result set and append it to result */
/* Sort the result set and append it to result */
...
@@ -7191,11 +7195,8 @@ void run_query(struct st_connection *cn, struct st_command *command, int flags)
...
@@ -7191,11 +7195,8 @@ void run_query(struct st_connection *cn, struct st_command *command, int flags)
check_require
(
ds
,
command
->
require_file
);
check_require
(
ds
,
command
->
require_file
);
}
}
dynstr_free
(
&
ds_warnings
);
if
(
ds
==
&
ds_result
)
if
(
ds
==
&
ds_result
)
dynstr_free
(
&
ds_result
);
dynstr_free
(
&
ds_result
);
if
(
command
->
type
==
Q_EVAL
)
dynstr_free
(
&
eval_query
);
DBUG_VOID_RETURN
;
DBUG_VOID_RETURN
;
}
}
...
...
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