dtmail: resolve 'deference before null check' errors related to if(!NULL) checks around free() calls

This commit is contained in:
Peter Howkins
2018-04-02 20:29:28 +01:00
parent 8362f92ceb
commit 0b38496bd8
27 changed files with 41 additions and 68 deletions

View File

@@ -170,8 +170,7 @@ decode1522(const char * enc_start, const char * max_end, char **output, DtMail::
free( from_cs );
if (NULL != to_cs)
free ( to_cs );
if (NULL != cs_name)
free(cs_name);
free(cs_name);
return(enc_end);
}