Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
sds
bake
Commits
0cb6f9fc
Commit
0cb6f9fc
authored
Jan 13, 2021
by
Philip Carns
Browse files
Merge branch 'carns/dev-memory-bugs' into 'master'
minor memory bug fix in mkpool routine See merge request
!17
parents
8ab84eed
d2b2bbc6
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/bake-mkpool.c
View file @
0cb6f9fc
...
...
@@ -40,7 +40,7 @@ int parse_size(char *str, size_t *size_out)
int
i
;
int
ret
;
ret
=
sscanf
(
str
,
"%zu%
2
s"
,
&
size
,
suff
);
ret
=
sscanf
(
str
,
"%zu%
1
s"
,
&
size
,
suff
);
if
(
ret
==
1
)
{
*
size_out
=
size
;
...
...
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