From b39d22af034364b3739513e3f10fbf820d4b24e2 Mon Sep 17 00:00:00 2001
From: Mrowqa <artur.jamro@gmail.com>
Date: Wed, 1 Jan 2014 23:25:18 +0100
Subject: [PATCH] Coverity CID 992461: Fixed memory leak
---
src/kits/tracker/PoseViewScripting.cpp | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/src/kits/tracker/PoseViewScripting.cpp b/src/kits/tracker/PoseViewScripting.cpp
index cb9d299..be18e92 100644
a
|
b
|
BPoseView::DeleteProperty(BMessage* _SCRIPTING_ONLY(specifier),
|
486 | 486 | entryList->AddItem( |
487 | 487 | new entry_ref(*pose->TargetModel()->EntryRef())); |
488 | 488 | } |
489 | | } else |
| 489 | } else { |
| 490 | delete entryList; |
490 | 491 | return false; |
| 492 | } |
491 | 493 | |
492 | 494 | if (error == B_OK) { |
493 | 495 | TrackerSettings settings; |