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
aeafb909
Commit
aeafb909
authored
Aug 29, 2001
by
serg@serg.mysql.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
"freeing of unallocated pointer" bug fixed
parent
d9652cdc
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
+2
-3
myisam/mi_check.c
myisam/mi_check.c
+2
-3
No files found.
myisam/mi_check.c
View file @
aeafb909
...
...
@@ -1111,6 +1111,7 @@ int mi_repair(MI_CHECK *param, register MI_INFO *info,
SORT_INFO
*
sort_info
=
&
param
->
sort_info
;
DBUG_ENTER
(
"mi_repair"
);
sort_info
->
buff
=
sort_info
->
record
=
0
;
start_records
=
info
->
state
->
records
;
new_header_length
=
(
param
->
testflag
&
T_UNPACK
)
?
0L
:
share
->
pack
.
header_length
;
...
...
@@ -1329,9 +1330,7 @@ err:
}
mi_mark_crashed_on_repair
(
info
);
}
if
(
sort_info
->
record
)
my_free
(
sort_info
->
record
,
MYF
(
0
));
my_free
(
sort_info
->
record
,
MYF
(
MY_ALLOW_ZERO_PTR
));
my_free
(
sort_info
->
buff
,
MYF
(
MY_ALLOW_ZERO_PTR
));
VOID
(
end_io_cache
(
&
param
->
read_cache
));
info
->
opt_flag
&=
~
(
READ_CACHE_USED
|
WRITE_CACHE_USED
);
...
...
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