aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJaap Keuter <jaap.keuter@xs4all.nl>2009-03-11 06:03:31 +0000
committerJaap Keuter <jaap.keuter@xs4all.nl>2009-03-11 06:03:31 +0000
commit108fe4f53a16ec1256499304a0a66b63e920f7b9 (patch)
tree0b02985948fb2a53959dcc266d0398f83b877c5d
parent51cf6961425de962c408b7b718e96c011fa3660a (diff)
From Jakub Zawadzki:
Fix small memory leak when running from build directory. svn path=/trunk/; revision=27691
-rw-r--r--epan/plugins.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/epan/plugins.c b/epan/plugins.c
index 8837b847cf..9d27d735f7 100644
--- a/epan/plugins.c
+++ b/epan/plugins.c
@@ -385,6 +385,7 @@ init_plugins(void)
plugins_scan_dir(plugin_dir_path);
g_free(plugin_dir_path);
}
+ ws_dir_close(dir);
}
} else
plugins_scan_dir(plugin_dir);