projects
/
pulseview.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from:
5e6967c
)
Free unused segment memory after acquisition
author
Soeren Apel
<soeren@apelpie.net>
Wed, 8 Feb 2017 19:33:48 +0000
(20:33 +0100)
committer
Soeren Apel
<soeren@apelpie.net>
Wed, 8 Feb 2017 19:33:48 +0000
(20:33 +0100)
Segments allocate chunks of MaxChunkSize bytes each.
Most likely, the last allocated chunk isn't fully used,
so there's memory going to waste. This patch fixes this
by allocating a chunk of the required size that replaces
the last standard chunk.
No differences found