diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2013-09-14 18:48:16 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2013-09-14 18:48:16 +0200 |
commit | 38303ae6a79fc8dea560a2d2813fe1ea360e401d (patch) | |
tree | 7d443fe578f13f6f17e0698b3905a2f5f0205323 /facetracknoir/facetracknoir.cpp | |
parent | 7bb0bdcd09d2dbe2bd0132fc9433a8c0091da18d (diff) |
Recent braino resulted in double free in error path
Diffstat (limited to 'facetracknoir/facetracknoir.cpp')
-rw-r--r-- | facetracknoir/facetracknoir.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/facetracknoir/facetracknoir.cpp b/facetracknoir/facetracknoir.cpp index 60e2e124..85607329 100644 --- a/facetracknoir/facetracknoir.cpp +++ b/facetracknoir/facetracknoir.cpp @@ -52,10 +52,7 @@ static bool get_metadata(DynamicLibrary* lib, QString& longName, QIcon& icon) { Metadata* meta; if (!lib->Metadata || ((meta = lib->Metadata()), !meta)) - { - delete lib; return false; - } meta->getFullName(&longName); meta->getIcon(&icon); delete meta; |