Reacted on warnings of cppcheck
This commit is contained in:
@ -273,7 +273,7 @@ static int isoburn_cached_drive_new(struct isoburn_cached_drive **o,
|
||||
int i, ret;
|
||||
|
||||
*o = icd = calloc(1,sizeof(struct isoburn_cached_drive));
|
||||
if (o == NULL)
|
||||
if (*o == NULL)
|
||||
return(-1);
|
||||
icd->drive = d;
|
||||
icd->tiles = NULL;
|
||||
|
Reference in New Issue
Block a user