Search the web
Sign In
New User? Sign Up
dnrd · DNRD discussion list
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Want your group to be featured on the Yahoo! Groups website? Add a group photo to Flickr.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
memory leak   Message List  
Reply | Forward Message #241 of 261 |
I found a memory leak.
Here's the diff (with version 2.10):

> cvs diff -u -r1.1.1.2 src/cache.c
Index: src/cache.c
===================================================================
RCS file: /export/cvsroot/soft/apps/dnrd/src/cache.c,v
retrieving revision 1.1.1.2
retrieving revision 1.2
diff -u -r1.1.1.2 -r1.2
--- src/cache.c 2001/02/02 12:38:36 1.1.1.2
+++ src/cache.c 2002/02/05 14:35:23 1.2
@@ -251,6 +251,8 @@
x = parse_packet(packet, len);
/* get_dnsquery(x, &query); */

+ free_packet(x);
+ x = NULL;
/*
* ... and search our cache for this request.
*/


--
Gregoire Banderet gb@...
LIGHTNING Instrumentation SA http://www.lightning.ch/
Avenue des Boveresses 50 Phone [+41](0)21/6542000
CH-1010 Lausanne Switzerland Fax [+41](0)21/6542001





Tue Feb 5, 2002 3:17 pm

gb@...
Send Email Send Email

Forward
Message #241 of 261 |
Expand Messages Author Sort by Date

I found a memory leak. ... Index: src/cache.c =================================================================== RCS file:...
Gregoire Banderet
gb@...
Send Email
Apr 19, 2002
6:58 am
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help