[haiku-commits] r39993 - haiku/trunk/src/servers/print

  • From: michael.w.pfeiffer@xxxxxxxxx
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Tue, 28 Dec 2010 22:12:17 +0100 (CET)

Author: laplace
Date: 2010-12-28 22:12:17 +0100 (Tue, 28 Dec 2010)
New Revision: 39993
Changeset: http://dev.haiku-os.org/changeset/39993

Modified:
   haiku/trunk/src/servers/print/PrintServerApp.cpp
Log:
* CID 10260: member variable fDefaultPrinter was not
  initialized in constructor in error case


Modified: haiku/trunk/src/servers/print/PrintServerApp.cpp
===================================================================
--- haiku/trunk/src/servers/print/PrintServerApp.cpp    2010-12-28 21:06:29 UTC 
(rev 39992)
+++ haiku/trunk/src/servers/print/PrintServerApp.cpp    2010-12-28 21:12:17 UTC 
(rev 39993)
@@ -85,6 +85,7 @@
  */
 PrintServerApp::PrintServerApp(status_t* err)
        : Inherited(PSRV_SIGNATURE_TYPE, err),
+       fDefaultPrinter(NULL),
 #ifdef HAIKU_TARGET_PLATFORM_HAIKU
        fSelectedIcon(NULL),
 #else


Other related posts:

  • » [haiku-commits] r39993 - haiku/trunk/src/servers/print - michael . w . pfeiffer