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
078a9762
Commit
078a9762
authored
Mar 18, 2009
by
Chad MILLER
Browse files
Options
Browse Files
Download
Plain Diff
Merge bugteam and fix for 42675.
parents
5ac1f353
2443683f
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
4 deletions
+9
-4
mysys/my_error.c
mysys/my_error.c
+9
-4
No files found.
mysys/my_error.c
View file @
078a9762
...
...
@@ -252,11 +252,16 @@ const char **my_error_unregister(int first, int last)
void
my_error_unregister_all
(
void
)
{
struct
my_err_head
*
list
,
*
next
;
for
(
list
=
my_errmsgs_globerrs
.
meh_next
;
list
;
list
=
next
)
struct
my_err_head
*
cursor
,
*
saved_next
;
for
(
cursor
=
my_errmsgs_globerrs
.
meh_next
;
cursor
!=
NULL
;
cursor
=
saved_next
)
{
next
=
list
->
meh_next
;
my_free
((
uchar
*
)
list
,
MYF
(
0
));
/* We need this ptr, but we're about to free its container, so save it. */
saved_next
=
cursor
->
meh_next
;
my_free
((
uchar
*
)
cursor
,
MYF
(
0
));
}
my_errmsgs_globerrs
.
meh_next
=
NULL
;
/* Freed in first iteration above. */
my_errmsgs_list
=
&
my_errmsgs_globerrs
;
}
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