[haiku-commits] Change in ...haiku[master]: mail: Fix potential memory leak

  • From: Gerrit <review@xxxxxxxxxxxxxxxxxxx>
  • To: waddlesplash <waddlesplash@xxxxxxxxx>, haiku-commits@xxxxxxxxxxxxx
  • Date: Mon, 18 Feb 2019 11:35:51 +0000

From Murai Takashi <tmurai01@xxxxxxxxx>:

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


Change subject: mail: Fix potential memory leak
......................................................................

mail: Fix potential memory leak

Fix memory leak when realloc() failed.
Pointed out by Clang Static Analyzer.

Change-Id: I13f758c4d89275651e22785652d0880a6d5b1a8e
---
M src/apps/mail/Content.cpp
1 file changed, 8 insertions(+), 3 deletions(-)



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

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

Other related posts:

  • » [haiku-commits] Change in ...haiku[master]: mail: Fix potential memory leak - Gerrit