Commit ca1370e2 authored by Jake Petroules's avatar Jake Petroules
Browse files

Fix mismatched new/delete warning


Change-Id: I3dabc9d3c5d84693724f3dacc68956f89c17ec9e
Reviewed-by: default avatarGabriel de Dietrich <gabriel.dedietrich@qt.io>
parent 167f91be
Branches
Tags
No related merge requests found
Showing with 1 addition and 1 deletion
......@@ -74,7 +74,7 @@ static off_t cbSkipForward(void *info, off_t count)
} else {
char *buf = new char[count];
res = dev->read(buf, count);
delete buf;
delete[] buf;
}
return qMax(qint64(0), res);
}
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment