Change-Id: If1544b1d85ff47cdddb6740b6cb413aa2e6435cc
}
free(mConfig->engine_id);
+ mConfig->engine_id = nullptr;
if (engineId.empty()) {
mConfig->engine_id = nullptr;
} else {
mConfig->engine_id = strdup(engineId.c_str());
+ if (mConfig->engine_id == nullptr) {
+ SLOG(LOG_ERROR, TAG_VCCONFIG, "[ERROR] Memory allocation failed");
+ return;
+ }
}
SLOG(LOG_ERROR, TAG_VCCONFIG, "Set Engine ID : %s", mConfig->engine_id);
}
Name: voice-control
Summary: Voice control client library and daemon
-Version: 1.90.5
+Version: 1.90.6
Release: 1
Group: Graphics & UI Framework/Voice Framework
License: Apache-2.0