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

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

From Murai Takashi <tmurai01@xxxxxxxxx>:

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


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

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

cpu_menu_items is allocated by new[] in Init(), but freed by delete.
Pointed out by LGTM.

Change-Id: I4cc669c519cc4ea3e170cb9f421d6b4ff77df8a2
---
M src/apps/pulse/PulseView.cpp
1 file changed, 1 insertion(+), 1 deletion(-)



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

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

Other related posts:

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