Revision: 14735
Author: adrian.chadd
Date: Mon Jul 12 01:02:49 2010
Log: Fix a memory leak when logging the outgoing IP address.


http://code.google.com/p/lusca-cache/source/detail?r=14735

Modified:
 /branches/LUSCA_HEAD/src/access_log.c

=======================================
--- /branches/LUSCA_HEAD/src/access_log.c       Thu May 20 02:32:26 2010
+++ /branches/LUSCA_HEAD/src/access_log.c       Mon Jul 12 01:02:49 2010
@@ -492,6 +492,7 @@
            break;
        case LFT_OUTGOING_IP:
            out = xstrdup(inet_ntoa(al->cache.out_ip));
+           dofree = 1;
            break;

            /* case LFT_SERVER_PORT: */

--
You received this message because you are subscribed to the Google Groups 
"lusca-commit" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/lusca-commit?hl=en.

Reply via email to