summaryrefslogtreecommitdiff
path: root/ACE/examples/APG
diff options
context:
space:
mode:
authorJohnny Willemsen <jwillemsen@remedy.nl>2011-05-23 06:57:42 +0000
committerJohnny Willemsen <jwillemsen@remedy.nl>2011-05-23 06:57:42 +0000
commitc9aa228cb19e955d80971f572ca3da448b0d81a8 (patch)
tree87d44912518e4ff0bf18630cd27334686b7da385 /ACE/examples/APG
parentbdca10fc79afb1eeca18f847804966fcb1c5208e (diff)
downloadATCD-c9aa228cb19e955d80971f572ca3da448b0d81a8.tar.gz
Mon May 23 06:55:37 UTC 2011 Johnny Willemsen <jwillemsen@remedy.nl>
* examples/APG/Streams/MessageInfo.h: Pass argument as const& to fix Coverity error * protocols/ace/INet/BidirStreamBuffer.h: * protocols/ace/INet/BufferedStreamBuffer.h: * protocols/ace/INet/HTTP_BasicAuthentication.cpp: * protocols/ace/RMCast/Link.cpp: Fixed memory leaks, thanks to Max Zhou <earthdog at 126 dot com> for creating the patch, this fixes bugzilla 3959
Diffstat (limited to 'ACE/examples/APG')
-rw-r--r--ACE/examples/APG/Streams/MessageInfo.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/ACE/examples/APG/Streams/MessageInfo.h b/ACE/examples/APG/Streams/MessageInfo.h
index 0f0f1bc60dc..76d1502f0f9 100644
--- a/ACE/examples/APG/Streams/MessageInfo.h
+++ b/ACE/examples/APG/Streams/MessageInfo.h
@@ -57,7 +57,7 @@ public:
LAST_CODEC
};
- MessageType (int codec, ACE_FILE_Addr addr)
+ MessageType (int codec, const ACE_FILE_Addr& addr)
: codec_(codec), addr_(addr)
{ }