~ubuntu-branches/ubuntu/raring/maradns/raring

« back to all changes in this revision

Viewing changes to update/1.3.03/maradns-1.3.02-ect.d-leakfix.patch

  • Committer: Bazaar Package Importer
  • Author(s): Kai Hendry
  • Date: 2010-01-24 12:17:40 UTC
  • mfrom: (1.1.13 upstream) (10.1.4 sid)
  • Revision ID: james.westby@ubuntu.com-20100124121740-a4e1fjobwaouz443
Tags: 1.4.02-1
New upstream release

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
--- maradns-1.3.03/server/MaraDNS.c.orig        2007-02-14 06:53:38.000000000 -0800
2
 
+++ maradns-1.3.03/server/MaraDNS.c     2007-02-14 06:58:09.000000000 -0800
3
 
@@ -4926,6 +4926,9 @@
4
 
                 printf("\n");
5
 
                 log_unlock();
6
 
                 }
7
 
+           if(ect.d != 0) {
8
 
+               js_dealloc(ect.d);
9
 
+               }
10
 
             continue;
11
 
             }
12
 
         if(log_level >= 5) {