diff options
author | ticktock35 <ticktock35@e8e0d7a0-c8d9-11dd-a880-a1081c7ac358> | 2009-03-26 04:26:27 (EDT) |
---|---|---|
committer | ticktock35 <ticktock35@e8e0d7a0-c8d9-11dd-a880-a1081c7ac358> | 2009-03-26 04:26:27 (EDT) |
commit | 80fa18779f694b6643f4bf711e72168092aba800 (patch) | |
tree | 33a519ee45d5eefbde93844d8dfa7ea6336a9acb /libopkg | |
parent | 483c4d7573439e71d0bdfe5a9192b3ffc06d35c1 (diff) |
reduce a memory leak of closing dir
git-svn-id: http://opkg.googlecode.com/svn/trunk@207 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358
Diffstat (limited to 'libopkg')
-rw-r--r-- | libopkg/opkg_cmd.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libopkg/opkg_cmd.c b/libopkg/opkg_cmd.c index 91eb21a..6ac847a 100644 --- a/libopkg/opkg_cmd.c +++ b/libopkg/opkg_cmd.c @@ -379,6 +379,7 @@ static int opkg_finalize_intercepts(opkg_intercept_t ctx) } free (path); } + closedir(dir); } else perror (ctx->statedir); |