/*
-* Copyright (c) 2011-2014 Samsung Electronics Co., Ltd All Rights Reserved
+* Copyright (c) 2011-2016 Samsung Electronics Co., Ltd All Rights Reserved
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
if (NULL != data->err_msg) {
free(data->err_msg);
+ data->err_msg = NULL;
}
if (NULL != data->credential) {
free(data->credential);
+ data->credential = NULL;
}
free(data);
free(stt);
+ data = NULL;
+ stt = NULL;
return 0;
}