Reacted on warnings of cppcheck

This commit is contained in:
2012-03-21 19:30:38 +00:00
parent d005e8f1c2
commit b406e8e93e
3 changed files with 3 additions and 3 deletions

View File

@ -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;