[haiku-commits] Change in haiku[master]: translators/gif: Fix mismatching malloc/delete

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

From Murai Takashi <tmurai01@xxxxxxxxx>:

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


Change subject: translators/gif: Fix mismatching malloc/delete
......................................................................

translators/gif: Fix mismatching malloc/delete

fHeadMemblock is allocated by malloc() in MemblockAllocate(),
but freed by delete.
Pointed out by LGTM.

Change-Id: I5019c2c3e4d240051e6f8a1ac70a9738f6f97131
---
M src/add-ons/translators/gif/GIFLoad.cpp
1 file changed, 1 insertion(+), 1 deletion(-)



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

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

Other related posts:

  • » [haiku-commits] Change in haiku[master]: translators/gif: Fix mismatching malloc/delete - Gerrit