[haiku-commits] Change in haiku[master]: Mandelbrot: Fix 'new[]' array freed with 'delete'

  • From: Gerrit <review@xxxxxxxxxxxxxxxxxxx>
  • To: waddlesplash <waddlesplash@xxxxxxxxx>, haiku-commits@xxxxxxxxxxxxx
  • Date: Sat, 21 Sep 2019 10:53:20 +0000

From Murai Takashi <tmurai01@xxxxxxxxx>:

Murai Takashi has uploaded this change for review. ( 
https://review.haiku-os.org/c/haiku/+/1880 ;)


Change subject: Mandelbrot: Fix 'new[]' array freed with 'delete'
......................................................................

Mandelbrot: Fix 'new[]' array freed with 'delete'

fRenderBuffer is allocated by new[] in MessageReceived(),
buf freed by delete.
Pointed out by LGTM.

Change-Id: I06efc1c8075a421e7f2983e8a0d817a1bf43b026
---
M src/apps/mandelbrot/FractalEngine.cpp
1 file changed, 1 insertion(+), 1 deletion(-)



  git pull ssh://git.haiku-os.org:22/haiku refs/changes/80/1880/1
--
To view, visit https://review.haiku-os.org/c/haiku/+/1880
To unsubscribe, or for help writing mail filters, visit 
https://review.haiku-os.org/settings

Gerrit-Project: haiku
Gerrit-Branch: master
Gerrit-Change-Id: I06efc1c8075a421e7f2983e8a0d817a1bf43b026
Gerrit-Change-Number: 1880
Gerrit-PatchSet: 1
Gerrit-Owner: Murai Takashi <tmurai01@xxxxxxxxx>
Gerrit-MessageType: newchange

Other related posts:

  • » [haiku-commits] Change in haiku[master]: Mandelbrot: Fix 'new[]' array freed with 'delete' - Gerrit