[poppler] goo/GooString.cc

Albert Astals Cid aacid at kemper.freedesktop.org
Mon Feb 21 11:17:55 PST 2011


 goo/GooString.cc |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 384753f1f9f780687bdead99a6548ef8598b898a
Author: Albert Astals Cid <aacid at kde.org>
Date:   Mon Feb 21 19:19:48 2011 +0000

    Use gfree since we allocate with gmalloc
    
    Bug 34512

diff --git a/goo/GooString.cc b/goo/GooString.cc
index f1dcbc8..a96b792 100644
--- a/goo/GooString.cc
+++ b/goo/GooString.cc
@@ -18,7 +18,7 @@
 // Copyright (C) 2006 Kristian Høgsberg <krh at redhat.com>
 // Copyright (C) 2006 Krzysztof Kowalczyk <kkowalczyk at gmail.com>
 // Copyright (C) 2007 Jeff Muizelaar <jeff at infidigm.net>
-// Copyright (C) 2008-2010 Albert Astals Cid <aacid at kde.org>
+// Copyright (C) 2008-2011 Albert Astals Cid <aacid at kde.org>
 //
 // To see a description of the changes please see the Changelog file that
 // came with your tarball or type make ChangeLog if you are building from git
@@ -238,7 +238,7 @@ GooString *GooString::formatv(char *fmt, va_list argList) {
 
 GooString::~GooString() {
   if (s != sStatic)
-    free(s);
+    gfree(s);
 }
 
 GooString *GooString::clear() {


More information about the poppler mailing list