dtmail: resolve 'deference before null check' errors related to if(!NULL) checks around free() calls
This commit is contained in:
@@ -590,8 +590,7 @@ V3BodyPart::loadBody(DtMailEnv &)
|
||||
strcpy(cs, "DEFAULT");
|
||||
strcat(cs, ".");
|
||||
strcat(cs, ret);
|
||||
if ( ret )
|
||||
free( ret );
|
||||
free( ret );
|
||||
}
|
||||
} // If cstmp is NULL
|
||||
|
||||
|
||||
Reference in New Issue
Block a user