Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(53)

Issue 2129483003: Deleting void pointers is bad, mmmkay? (Closed)

Created:
4 years, 5 months ago by jvanverth1
Modified:
4 years, 5 months ago
Reviewers:
bungeman-skia, dogben, egdaniel, robertphillips
CC:
reviews_skia.org
Base URL:
https://skia.googlesource.com/skia.git@master
Target Ref:
refs/heads/master
Project:
skia
Visibility:
Public.

Description

Patch Set 1 #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+1 line, -1 line) Patch
M src/gpu/vk/GrVkBuffer.cpp View 1 chunk +1 line, -1 line 1 comment Download

Messages

Total messages: 13 (6 generated)
jvanverth1
4 years, 5 months ago (2016-07-06 20:48:56 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2129483003/1
4 years, 5 months ago (2016-07-06 20:50:04 UTC) #5
commit-bot: I haz the power
Note for Reviewers: The CQ is waiting for an approval. If you believe that the ...
4 years, 5 months ago (2016-07-06 20:50:05 UTC) #6
robertphillips
lgtm
4 years, 5 months ago (2016-07-06 20:50:32 UTC) #8
commit-bot: I haz the power
Committed patchset #1 (id:1) as https://skia.googlesource.com/skia/+/47e3dbaab5396febbe6173000ea88cca1cf9c211
4 years, 5 months ago (2016-07-06 21:26:56 UTC) #10
egdaniel
https://codereview.chromium.org/2129483003/diff/1/src/gpu/vk/GrVkBuffer.cpp File src/gpu/vk/GrVkBuffer.cpp (right): https://codereview.chromium.org/2129483003/diff/1/src/gpu/vk/GrVkBuffer.cpp#newcode156 src/gpu/vk/GrVkBuffer.cpp:156: delete (unsigned char*) fMapPtr; should this be using delete[]?
4 years, 5 months ago (2016-07-07 02:58:08 UTC) #12
jvanverth1
4 years, 5 months ago (2016-07-07 13:57:55 UTC) #13
Message was sent while issue was closed.
On 2016/07/07 02:58:08, egdaniel wrote:
> https://codereview.chromium.org/2129483003/diff/1/src/gpu/vk/GrVkBuffer.cpp
> File src/gpu/vk/GrVkBuffer.cpp (right):
> 
>
https://codereview.chromium.org/2129483003/diff/1/src/gpu/vk/GrVkBuffer.cpp#n...
> src/gpu/vk/GrVkBuffer.cpp:156: delete (unsigned char*) fMapPtr;
> should this be using delete[]?

Good catch, I'll fix this in the next patch.

Powered by Google App Engine
This is Rietveld 408576698