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
Brice Videau
CCS
Commits
d691f953
Commit
d691f953
authored
Jun 08, 2020
by
Brice Videau
Browse files
Bugfix.
parent
a9a5005c
Changes
1
Show whitespace changes
Inline
Side-by-side
src/configuration.c
View file @
d691f953
...
...
@@ -38,7 +38,7 @@ ccs_create_configuration(ccs_configuration_space_t configuration_space,
return
-
CCS_INVALID_VALUE
;
uintptr_t
mem
=
(
uintptr_t
)
calloc
(
1
,
sizeof
(
struct
_ccs_configuration_s
)
+
sizeof
(
struct
_ccs_configuration_data_s
)
+
num
*
sizeof
(
ccs_datum_t
));
if
(
!
mem
)
return
CCS_ENOMEM
;
return
-
CCS_ENOMEM
;
err
=
ccs_retain_object
(
configuration_space
);
if
(
err
)
{
free
((
void
*
)
mem
);
...
...
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