~ubuntu-branches/ubuntu/utopic/heimdal/utopic-proposed

« back to all changes in this revision

Viewing changes to debian/patches/051_kdc_memleak

  • Committer: Package Import Robot
  • Author(s): Patrik Lundin
  • Date: 2015-03-04 16:16:19 UTC
  • Revision ID: package-import@ubuntu.com-20150304161619-l1zp3dxyevzzdacz
Tags: 1.6~rc2+dfsg-8ubuntu1
Add 051_kdc_memleak patch based on Debian bug #746486. LP: #1422359

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
Index: heimdal-1.6~git20131207+dfsg/kdc/process.c
 
2
===================================================================
 
3
--- heimdal-1.6~git20131207+dfsg.orig/kdc/process.c     2013-12-07 14:36:38.000000000 +0100
 
4
+++ heimdal-1.6~git20131207+dfsg/kdc/process.c  2015-02-16 14:20:10.333220696 +0100
 
5
@@ -212,12 +212,12 @@
 
6
            if (services[i].flags & KS_NO_LENGTH)
 
7
                *prependlength = 0;
 
8
 
 
9
-           heim_auto_release_drain(pool);
 
10
+           heim_release(pool);
 
11
            return ret;
 
12
        }
 
13
     }
 
14
 
 
15
-    heim_auto_release_drain(pool);
 
16
+    heim_release(pool);
 
17
 
 
18
     return -1;
 
19
 }