Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Jean-Baptiste Kempf
libaacs
Commits
e79a54b6
Commit
e79a54b6
authored
May 06, 2015
by
npzacs
Browse files
use str_dup
parent
cceaba44
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/libaacs/aacs.c
View file @
e79a54b6
...
@@ -1055,7 +1055,7 @@ int aacs_open_device(AACS *aacs, const char *path, const char *configfile_path)
...
@@ -1055,7 +1055,7 @@ int aacs_open_device(AACS *aacs, const char *path, const char *configfile_path)
config_file
*
cf
;
config_file
*
cf
;
int
error_code
;
int
error_code
;
aacs
->
path
=
path
?
str_
printf
(
"%s"
,
path
)
:
NULL
;
aacs
->
path
=
path
?
str_
dup
(
path
)
:
NULL
;
error_code
=
_calc_title_hash
(
aacs
);
error_code
=
_calc_title_hash
(
aacs
);
if
(
error_code
!=
AACS_SUCCESS
)
{
if
(
error_code
!=
AACS_SUCCESS
)
{
...
...
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