This patch initializes uninitialized member variable.
Coverity:107447 , 110284
Reference: https://review.tizen.org/gerrit/#/c/platform/framework/web/crosswalk-tizen/+/174707/
Change-Id: I80b37a13c7d41fa5a60a6c2ab324ecfa53d839e0
Signed-off-by: deepti <d.saraswat@samsung.com>
} // namespace
-AppControl::AppControl(app_control_h app_control) {
+AppControl::AppControl(app_control_h app_control)
+ : app_control_bundle_(nullptr){
app_control_clone(&app_control_, app_control);
app_control_to_bundle(app_control_, &app_control_bundle_);
}
-AppControl:: AppControl() {
+AppControl:: AppControl()
+ : app_control_bundle_(nullptr){
app_control_create(&app_control_);
app_control_to_bundle(app_control_, &app_control_bundle_);
}