[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-core-devel
Subject:    [PATCH] kprinter memory leak (BR62945)
From:       Waldo Bastian <bastian () kde ! org>
Date:       2004-01-14 12:00:58
Message-ID: 200401141301.00467.bastian () kde ! org
[Download RAW message or body]

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I think I saw this patch before but I can't find it anywhere and it's not in 
CVS. Should fix BR62945

Index: ipprequest.cpp
===================================================================
RCS file: /home/kde/kdelibs/kdeprint/cups/ipprequest.cpp,v
retrieving revision 1.28
diff -u -r1.28 ipprequest.cpp
- --- ipprequest.cpp	4 Jan 2004 17:52:28 -0000	1.28
+++ ipprequest.cpp	14 Jan 2004 11:46:50 -0000
@@ -152,6 +152,7 @@
 	lang->encoding = CUPS_UTF8;
 	ippAddString(request_, IPP_TAG_OPERATION, IPP_TAG_CHARSET, 
"attributes-charset", NULL, cupsLangEncoding(lang));
 	ippAddString(request_, IPP_TAG_OPERATION, IPP_TAG_LANGUAGE, 
"attributes-natural-language", NULL, lang->language);
+	cupsLangFree(lang);
 }
 
 void IppRequest::addString_p(int group, int type, const QString& name, const 
QString& value)


- -- 
bastian@kde.org -=|[ KDE: K Desktop for the Enterprise ]|=- bastian@suse.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)

iD8DBQFABS96N4pvrENfboIRAvjZAKCiDMmixQ+TW41VU20JAtXlMNQ8yACfY1R/
IwFXLAidsXAn+KOFvOnIbAM=
=DYpR
-----END PGP SIGNATURE-----

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic