summaryrefslogtreecommitdiffstats
path: root/zarb-ml/mageia-dev/attachments/20120305/cffa88ee/attachment-0001.obj
blob: 32ce67d72320e66343b6fa23e51d1a3990b9c5ad (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
commit 6adc54613c28970be25150af81da0e1cce27b97f
Author: tv <tv@99302b65-d5f7-0310-b3dd-f8cd6f4e3d94>
Date:   Tue Mar 24 15:39:51 2009 +0000

    (install) revert refcount workarounds now that we fix refcounting in
    r254652 ; revert both:
    
    - r253559 (2009-03-04) "(install) close another fd leak (needed for
      drakx)"
    
    - and r253550 (2009-03-04: "(install) explicitely close the RPM DB on
      comleting transaction (needed for drakx -- looks like refcount has
      hard work)"
    
    
    git-svn-id: svn+ssh://svn.mandriva.com/svn/soft/rpm/urpmi/trunk@254653 99302b65-d5f7-0310-b3dd-f8cd6f4e3d94

diff --git a/urpm/install.pm b/urpm/install.pm
index 4faab2d..a18796f 100644
--- a/urpm/install.pm
+++ b/urpm/install.pm
@@ -289,10 +289,6 @@ sub install {
 
     urpm::sys::may_clean_rpmdb_shared_regions($urpm, $options{test});
 
-    # explicitely close the RPM DB (needed for drakx -- looks like refcount has hard work):
-    undef $db;
-    undef $trans;
-
     @errors;
 }