diff options
-rw-r--r-- | trace-util.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/trace-util.c b/trace-util.c index 520f800..7a75056 100644 --- a/trace-util.c +++ b/trace-util.c | |||
@@ -263,9 +263,9 @@ int trace_load_plugins(struct pevent *pevent) | |||
263 | load_plugin(pevent, path, name); | 263 | load_plugin(pevent, path, name); |
264 | } | 264 | } |
265 | 265 | ||
266 | closedir(dir); | ||
266 | fail: | 267 | fail: |
267 | free(path); | 268 | free(path); |
268 | closedir(dir); | ||
269 | 269 | ||
270 | return -1; | 270 | return -1; |
271 | } | 271 | } |