style chang, made mainly because I wanted to be able to add breakpoints to MEM_freeN calls which were on the same line as the if's.

This commit is contained in:
2012-01-21 22:00:40 +00:00
parent b7fbfdbf56
commit b95beea539
8 changed files with 84 additions and 38 deletions

View File

@@ -665,7 +665,9 @@ static void init_iconfile_list(struct ListBase *list)
for(; i>=0; i--){
MEM_freeN(dir[i].relname);
MEM_freeN(dir[i].path);
if (dir[i].string) MEM_freeN(dir[i].string);
if (dir[i].string) {
MEM_freeN(dir[i].string);
}
}
free(dir);
dir= NULL;