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
ac0dfc77
Commit
ac0dfc77
authored
Jun 11, 2002
by
bar@gw.udmsearch.izhnet.ru
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
test_charset.c:
fix: use my_free() instead of free()
parent
e8571e68
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
mysys/test_charset.c
mysys/test_charset.c
+2
-2
No files found.
mysys/test_charset.c
View file @
ac0dfc77
...
@@ -48,11 +48,11 @@ int main(int argc, char **argv) {
...
@@ -48,11 +48,11 @@ int main(int argc, char **argv) {
cs_list
=
list_charsets
(
MYF
(
MY_COMPILED_SETS
|
MY_CONFIG_SETS
));
cs_list
=
list_charsets
(
MYF
(
MY_COMPILED_SETS
|
MY_CONFIG_SETS
));
printf
(
"LIST OF CHARSETS (compiled + *.conf):
\n
%s
\n
"
,
cs_list
);
printf
(
"LIST OF CHARSETS (compiled + *.conf):
\n
%s
\n
"
,
cs_list
);
free
(
cs_list
);
my_free
(
cs_list
,
MYF
(
0
)
);
cs_list
=
list_charsets
(
MYF
(
MY_INDEX_SETS
|
MY_LOADED_SETS
));
cs_list
=
list_charsets
(
MYF
(
MY_INDEX_SETS
|
MY_LOADED_SETS
));
printf
(
"LIST OF CHARSETS (index + loaded):
\n
%s
\n
"
,
cs_list
);
printf
(
"LIST OF CHARSETS (index + loaded):
\n
%s
\n
"
,
cs_list
);
free
(
cs_list
);
my_free
(
cs_list
,
MYF
(
0
)
);
return
0
;
return
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