aboutsummaryrefslogblamecommitdiff
path: root/devel/clint/files/patch-plugins-python-python_plugin.cc
blob: 15f50a49b9b519e112612b5adce00c2cab3bac19 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15














                                                                        
--- plugins/python/python_plugin.cc.orig	Mon Apr 16 13:23:28 2001
+++ plugins/python/python_plugin.cc	Thu Nov 30 22:35:49 2006
@@ -51,11 +51,11 @@
             rules.push_back( rule );
          }
       }
+      closedir(curdir);
    } else {
       // There is something wrong with the directory. Probably doesn't
       // exist
    }
-   closedir(curdir);
    return;
 }