Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
LARN
PRRT
Commits
a83ad6f1
Commit
a83ad6f1
authored
Mar 15, 2016
by
Andreas Schmidt
Browse files
Fix bitmap memory leak.
parent
fcfbb621
Pipeline
#96
passed with stage
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/util/bitmap.c
View file @
a83ad6f1
...
...
@@ -77,5 +77,6 @@ uint32_t Bitmap_sum_zeros(Bitmap *bitmap, uint32_t start, uint32_t length)
bool
Bitmap_destroy
(
Bitmap
*
bitmap
)
{
free
(
bitmap
->
data
);
free
(
bitmap
);
return
true
;
}
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