We want to stick to a consistent style of indentation and comments
throughout the entire project. This commit removes unnecessary
indentations in the isu_pkg_info_free function in libisu.
Change-Id: I3a599127321406cf0609f3bd3c334f171459a115
struct _isu_pkg_info* pkg_info_i = (struct _isu_pkg_info*)pkg_info;
- if (pkg_info_i != NULL) {
- for (size_t i = 0; i < pkg_info_i->service_files_len; i++) {
- free(pkg_info_i->service_files[i]);
- }
- free(pkg_info_i->service_files);
+ if (pkg_info_i != NULL) {
+ for (size_t i = 0; i < pkg_info_i->service_files_len; i++) {
+ free(pkg_info_i->service_files[i]);
}
+ free(pkg_info_i->service_files);
+ }
free(pkg_info_i->name);
free(pkg_info_i->version);