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

List:       helix-server-cvs
Subject:    [Server-cvs] engine/core server_context.cpp,1.34.4.2,1.34.4.3
From:       mingda () helixcommunity ! org
Date:       2013-09-22 11:30:25
[Download RAW message or body]

Update of /cvsroot/server/engine/core
In directory cvs01.internal.helixcommunity.org:/tmp/cvs-serv7357

Modified Files:
      Tag: SERVER_15_1_0
	server_context.cpp 
Log Message:
Committed to: SERVER_15_1_0_RN, HEAD

Reviewed by: Richard

Verification build: 


Synopsis:
=========
HLXSRV-671 Helix proxy server not work

Branch: SERVER_15_1_0_RN, HEAD
Suggested Reviewers: Anyone

Description:
============
Fixes Dashgen memory leak on uptime

Files affected:
===============
server/engine/core/server_context.cpp


Testing Performed:
================
Unit Tests:
None

Integration Tests:

Leak Tests: None
Performance Tests: N/A

Platforms Tested: w2k8

Builds Verified: w2k8

QA Hints
========
No



Index: server_context.cpp
===================================================================
RCS file: /cvsroot/server/engine/core/server_context.cpp,v
retrieving revision 1.34.4.2
retrieving revision 1.34.4.3
diff -u -d -r1.34.4.2 -r1.34.4.3
--- server_context.cpp	17 Sep 2013 12:31:01 -0000	1.34.4.2
+++ server_context.cpp	22 Sep 2013 11:30:15 -0000	1.34.4.3
@@ -570,7 +570,15 @@
     }
     else if (IsEqualIID(riid, IID_IHXDAUCLoggerPlugin))
     {
-        return m_proc->pc->plugin_handler->m_pDaucLoggerPlugin->QueryInterface(IID_IHXDAUCLoggerPlugin, \
ppvObj); +        if(NULL == m_proc->pc->plugin_handler->m_pDaucLoggerPlugin)
+        {
+            *ppvObj = NULL;
+            return HXR_NOINTERFACE;
+        }
+        else
+        {
+            return m_proc->pc->plugin_handler->m_pDaucLoggerPlugin->QueryInterface(IID_IHXDAUCLoggerPlugin, \
ppvObj); +        }
     }
     else if (IsEqualIID(riid, IID_IHXHLSVirtualClient))
     {


_______________________________________________
Server-cvs mailing list
Server-cvs@helixcommunity.org
http://lists.helixcommunity.org/mailman/listinfo/server-cvs


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

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