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
c1c6e2a1
Commit
c1c6e2a1
authored
Apr 17, 2013
by
John Esmet
Committed by
Yoni Fogel
Apr 17, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
refs #5723 fix memory leak
git-svn-id:
file:///svn/toku/tokudb@51738
c7de825b-a66e-492c-adef-691d508d4ae1
parent
49425d16
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
3 deletions
+1
-3
ft/tests/ft-serialize-test.cc
ft/tests/ft-serialize-test.cc
+1
-3
No files found.
ft/tests/ft-serialize-test.cc
View file @
c1c6e2a1
...
...
@@ -1218,7 +1218,6 @@ test_serialize_nonleaf(enum ftnode_verify_type bft, bool do_clone) {
// source_ft.fd=fd;
sn
.
max_msn_applied_to_node_on_disk
.
msn
=
0
;
char
*
hello_string
;
sn
.
flags
=
0x11223344
;
sn
.
thisnodename
.
b
=
20
;
sn
.
layout_version
=
FT_LAYOUT_VERSION
;
...
...
@@ -1227,10 +1226,9 @@ test_serialize_nonleaf(enum ftnode_verify_type bft, bool do_clone) {
sn
.
n_children
=
2
;
sn
.
dirty
=
1
;
sn
.
oldest_referenced_xid_known
=
TXNID_NONE
;
hello_string
=
toku_strdup
(
"hello"
);
MALLOC_N
(
2
,
sn
.
bp
);
MALLOC_N
(
1
,
sn
.
childkeys
);
toku_memdup_dbt
(
&
sn
.
childkeys
[
0
],
hello_string
,
6
);
toku_memdup_dbt
(
&
sn
.
childkeys
[
0
],
"hello"
,
6
);
sn
.
totalchildkeylens
=
6
;
BP_BLOCKNUM
(
&
sn
,
0
).
b
=
30
;
BP_BLOCKNUM
(
&
sn
,
1
).
b
=
35
;
...
...
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