Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Xing Lin
qemu
Commits
57c30724
Commit
57c30724
authored
Apr 04, 2004
by
bellard
Browse files
fixing free
git-svn-id:
svn://svn.savannah.nongnu.org/qemu/trunk@707
c046a42c-6fe2-441c-8c8c-71466251a162
parent
73332e5c
Changes
1
Hide whitespace changes
Inline
Side-by-side
osdep.c
View file @
57c30724
...
...
@@ -235,6 +235,8 @@ void qemu_free(void *ptr)
{
MemoryBlock
*
mb
;
if
(
!
ptr
)
return
;
mb
=
(
MemoryBlock
*
)((
uint8_t
*
)
ptr
-
BLOCK_HEADER_SIZE
);
mb
->
next
=
first_free_block
;
first_free_block
=
mb
;
...
...
Write
Preview
Supports
Markdown
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