/[packages]/backports/4/libfreehand/current/SOURCES/0001-coverity-fix-memory-leak.patch
ViewVC logotype

Contents of /backports/4/libfreehand/current/SOURCES/0001-coverity-fix-memory-leak.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 585504 - (show annotations) (download)
Fri Feb 7 20:49:03 2014 UTC (10 years, 2 months ago) by tv
File size: 703 byte(s)
backport
1 From 0153352b99336335c5d6eb1635ea4b60574fa971 Mon Sep 17 00:00:00 2001
2 From: David Tardon <dtardon@redhat.com>
3 Date: Fri, 1 Nov 2013 12:35:12 +0100
4 Subject: [PATCH] coverity: fix memory leak
5
6 ---
7 src/lib/FHStringVector.cpp | 1 +
8 1 file changed, 1 insertion(+)
9
10 diff --git a/src/lib/FHStringVector.cpp b/src/lib/FHStringVector.cpp
11 index 2cab359..a6b5d7d 100644
12 --- a/src/lib/FHStringVector.cpp
13 +++ b/src/lib/FHStringVector.cpp
14 @@ -35,6 +35,7 @@ libfreehand::FHStringVector::FHStringVector(const FHStringVector &vec)
15
16 libfreehand::FHStringVector::~FHStringVector()
17 {
18 + delete m_pImpl;
19 }
20
21 libfreehand::FHStringVector &libfreehand::FHStringVector::operator=(const FHStringVector &vec)
22 --
23 1.8.3.1
24

  ViewVC Help
Powered by ViewVC 1.1.30