Reacted on warning of cppcheck

This commit is contained in:
Thomas Schmitt 2012-03-21 19:31:28 +00:00
parent c5a0ce28f1
commit d6139d2e7a
2 changed files with 2 additions and 2 deletions

View File

@ -2685,7 +2685,7 @@ int Xorriso_normalize_acl_text(struct XorrisO *xorriso, char *in_text,
if(pass == 0) { if(pass == 0) {
*access_acl_text= calloc(access_count + 1, 1); *access_acl_text= calloc(access_count + 1, 1);
*default_acl_text= calloc(default_count + 1, 1); *default_acl_text= calloc(default_count + 1, 1);
if(access_acl_text == NULL || *default_acl_text == NULL) { if(*access_acl_text == NULL || *default_acl_text == NULL) {
Xorriso_no_malloc_memory(xorriso, access_acl_text, 0); Xorriso_no_malloc_memory(xorriso, access_acl_text, 0);
{ret= -1; goto ex;} {ret= -1; goto ex;}
} }

View File

@ -1 +1 @@
#define Xorriso_timestamP "2012.03.21.193055" #define Xorriso_timestamP "2012.03.21.193153"