From 4ab170fd241262bb06492f9bb065133ffbb018a2 Mon Sep 17 00:00:00 2001
From: Mrowqa <artur.jamro@gmail.com>
Date: Wed, 1 Jan 2014 20:39:28 +0100
Subject: [PATCH] Coverity CID 1130510: fixed 'use after free' bug
---
src/apps/haiku-depot/PackageManager.cpp | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/apps/haiku-depot/PackageManager.cpp b/src/apps/haiku-depot/PackageManager.cpp
index 8044270..355b4d2 100644
a
|
b
|
public:
|
137 | 137 | return B_ERROR;; |
138 | 138 | } |
139 | 139 | |
140 | | fPackageManager->RemoveProgressListener(this); |
141 | | |
142 | 140 | _SetDownloadedPackagesState(ACTIVATED); |
143 | 141 | |
| 142 | fPackageManager->RemoveProgressListener(this); |
| 143 | |
144 | 144 | return B_OK; |
145 | 145 | } |
146 | 146 | |