Commit 0b14663b authored by npzacs's avatar npzacs
Browse files

Fix error path in aacs_open()

parent 9f2c509f
......@@ -1008,7 +1008,7 @@ AACS *aacs_open(const char *path, const char *configfile_path)
AACS *aacs;
aacs = aacs_open2(path, configfile_path, &error_code);
if (error_code == AACS_SUCCESS) {
if (!aacs || error_code == AACS_SUCCESS) {
return aacs;
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment